reapired multicast

This commit is contained in:
Eichhornchen
2021-01-07 15:50:32 +01:00
parent 850b4ed78b
commit f8fa48f274
2 changed files with 2 additions and 5 deletions

View File

@ -26,6 +26,3 @@ sock.setsockopt(socket.IPPROTO_IPV6, socket.IPV6_JOIN_GROUP, mreq)
data, addr = sock.recvfrom(1024)
print(data)
print(addr[0], addr[1])
time.sleep(3)
sock.sendto("hello world".encode('utf-8'), ("addr[0]", int(addr[1])))