Socket.receiveFrom

Receive data and get the remote endpoint Address. If the socket is blocking, receiveFrom waits until there is data to be received.

Return Value

Type: ptrdiff_t

The number of bytes actually received, 0 if the remote side has closed the connection, or Socket.ERROR on failure.

Meta

Suggestion Box / Bug Report