works locally again

This commit is contained in:
Arthur Lu 2021-10-14 23:30:15 +00:00
parent 531c8f80f3
commit 7b05707e3b
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ client.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT, 1)
# Enable broadcasting mode # Enable broadcasting mode
client.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1) client.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
client.connect(("", 5678)) client.bind(("", 5678))
while True: while True:
# Thanks @seym45 for a fix # Thanks @seym45 for a fix
data, addr = client.recvfrom(1024) data, addr = client.recvfrom(1024)