int nopoll_conn_ref_count ( noPollConn conn)

Allows to get current reference counting state for the provided connection.

Parameters
connThe connection queried for its reference counting.
Returns
The reference counting or -1 if it fails.

Referenced by nopoll_conn_close_ext().