mme_getclientcount()

Get the number of clients connected to a control context

Synopsis:

#include <mme/mme.h>

int mme_getclientcount( mme_hdl_t *hdl );

Arguments:

hdl
An MME connection handle.

Library:

mme

Description:

The function mme_getclientcount() returns the number of clients connected to the MME on the control context specified by hdl. This count is the number of mme_hdl_t active handles that have been returned by calls to mme_connect() for the control context.

Events

None delivered.

Blocking and validation

This function is non-blocking and performs no validations.

Returns:

0
Success: the number of clients attached to the control context for the specified MME handle.
-1
An error occurred (errno is set).

Classification:

QNX Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

mme_connect()