int nopoll_ctx_conns ( noPollCtx ctx)

Allows to get number of connections currently registered.

Parameters
ctxThe context where the operation is requested.
Returns
Number of connections registered on this context or -1 if it fails.

References nopoll_return_val_if_fail.