retval = sendto (s, data, dest_info) ¶retval = sendto (s, data, flags, dest_info) ¶Send data on specified socket.
Sends data on socket s to destination. data should be an uint8 array or a string.
The dest_info struct dest_info must contain the following fields:
addra string with the host name to send to
portthe port number to send to (an integer)
See the sendto man pages for further details.
Package: sockets