import socket SEND_ADDR = ( "127.0.0.1", 5001 ) s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)