Socket.sendTo

Send data to a specific destination Address. If the destination address is not specified, a connection must have been made and that address is used. If the socket is blocking and there is no buffer space left, sendTo waits.

Return Value

Type: ptrdiff_t

The number of bytes actually sent, or Socket.ERROR on failure.

Meta