lang/python/ PythonSocket


UdpSocket

def mx32_send_message(host,port,message):
  with socket.socket(socket.AF_INET,socket.SOCK_DGRAM) as s:
    s.connect((host,PORT))
    s.send(message)