lang/python/ PythonSocket
UdpSocket
import socket
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)
import socket
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)