int myqttd_conn_mgr_count ( MyQttdCtx ctx)

Allows to get number of connections currently handled by this process.

Parameters
ctxThe context where the query will be served.
Returns
The number of connections or -1 if it fails.

References myqtt_mutex_lock(), and myqtt_mutex_unlock().