VortexReceiveHandler vortex_connection_set_receive_handler ( VortexConnection connection,
VortexReceiveHandler  receive_handler 
)

Allows to configure receive handler use to actually receive data from remote peer.

Parameters
connectionThe connection where the receive handler will be set.
receive_handlerThe receive handler to be set.
Returns
Returns current receive handler set or NULL if it fails.

Referenced by vortex_external_connection_new().