int nopoll_conn_get_id ( noPollConn conn)

Allows to get the connection id from the provided connection.

Parameters
connThe connection from where the unique identifier will be returned.
Returns
The identifier or -1 if it fails.