reapired multicast
This commit is contained in:
@ -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])))
|
||||
|
Reference in New Issue
Block a user