Submits an asynchronous request on this socket to receive a message.
Upon successful reception onReceive will be called with the received data.
exact indicates whether successful reception requires the entire buffer
provided within message to have been filled. If a socket error occurs,
but some data has already been received, then onReceive will be called
with that partial data regardless of exact.
The message must have been allocated using NetworkMessage.alloc and
will be freed with NetworkMessage.free after the completion callback returns,
or once an error occurs that prevents said callback from being called.
Submits an asynchronous request on this socket to receive a message. Upon successful reception onReceive will be called with the received data. exact indicates whether successful reception requires the entire buffer provided within message to have been filled. If a socket error occurs, but some data has already been received, then onReceive will be called with that partial data regardless of exact. The message must have been allocated using NetworkMessage.alloc and will be freed with NetworkMessage.free after the completion callback returns, or once an error occurs that prevents said callback from being called.