VALVULA_SOCKET valvula_connection_get_socket ( ValvulaConnection connection)

Returns the socket used by this ValvulaConnection object.

Parameters
connectionthe connection to get the socket.
Returns
the socket used or -1 if fail

Referenced by valvula_readline().