noPollConn* nopoll_conn_accept ( noPollCtx ctx,
noPollConn listener 
)

Allows to accept a new incoming WebSocket connection on the provided listener.

Parameters
ctxThe context where the operation will take place.
listenerThe WebSocket listener that is receiving a new incoming connection.
Returns
A newly created noPollConn reference or NULL if it fails.

References nopoll_conn_accept_socket(), NOPOLL_LEVEL_CRITICAL, NOPOLL_LEVEL_DEBUG, and nopoll_return_val_if_fail.