int vortex_connection_ref_count ( VortexConnection connection)

Allows to get current reference count for the provided connection.

See also the following functions:

Parameters
connectionThe connection that is requested to return its count.
Returns
The function returns the reference count or -1 if it fails.

Referenced by vortex_connection_remove_channel_common(), and vortex_websocket_listener_new().