Sockets Toolkit - sendto
- Loadable Function:
retval =
sendto(s, data, dest_info)
- Loadable Function:
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:
addr
a string with the host name to send to
port
the port number to send to (an integer)
See the
sendto
man pages for further details.