cleanup names for dirs

This commit is contained in:
bt3gl 2022-03-23 18:32:49 +04:00
parent 0904ec1dc4
commit 0da3cbd74a
80 changed files with 62 additions and 2263 deletions

View file

@ -0,0 +1,18 @@
import socket
BIND_IP = '0.0.0.0'
BIND_PORT = 9000
def udp_server():
server = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
server.bind(( BIND_IP, BIND_PORT))
print(f'Waiting on port: {str(BIND_PORT)}')
while 1:
data, addr = server.recvfrom(1024)
print(data)
if __name__ == '__main__':
udp_server()