typedef void(* noPollOnCloseHandler)(noPollCtx *ctx, noPollConn *conn, noPollPtr user_data)

Handler definition used by nopoll_conn_set_on_close.

Handler definition for the function that is called when the connection is closed but just before shutting down the socket associated to the connection.

Parameters
ctxThe context where the operation will take place.
connThe connection where the operation will take place.
user_dataThe reference that was configured to be passed in into the handler.