void nopoll_conn_set_hook ( noPollConn conn,
noPollPtr  ptr 
)

Allows to define a user level pointer associated to this connection.

This pointer can be later be retrieved using nopoll_conn_get_hook.

Parameters
connThe connection where the pointer will be associated.
ptrThe pointer to associate to the connection.