typedef int(* VortexReceiveHandler)(VortexConnection *connection, char *buffer, int buffer_len)

Defines the readers handlers used to actually received data from the underlying socket descriptor.

This handler is used by:

Parameters
connectionThe Vortex connection where the data will be received.
bufferThe buffer reference used as container for data received.
buffer_lenThe buffer len use to know the limits of the buffer.
Returns
How many data was actually received.