typedef gint(* VortexReceiveHandler)(VortexConnection *connection, gchar *buffer, gint buffer_len)
 

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

This handler is used by:

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