const char* nopoll_conn_get_accepted_protocol ( noPollConn conn)

Allows to get accepted protocol in the case a protocol was requested during connection.

Parameters
connThe connection where the operation is taking place.
Returns
A reference to the protocol accepted or NULL if no protocol was mentioned during the handshake.