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:

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.
How many data was actually received.