blocking socket

This commit is contained in:
none 2023-05-22 10:58:59 +02:00
parent b7916ed4c8
commit f96cb16268

View File

@ -12,7 +12,7 @@ localip = '0.0.0.0'
UDPServerSocket = socket.socket(family=socket.AF_INET, type=socket.SOCK_DGRAM)
UDPServerSocket.bind((localip, localport))
UDPServerSocket.setblocking(0)
#UDPServerSocket.setblocking(0)
print("UDP server up and listening")