IAPI::GetActiveSocketClientObjectNumber

property GetActiveSocketClientObjectNumber. ( Server side only )

Retrieves the number of connected clients.

 

HRESULT GetActiveSocketClientObjectNumber(
  long hSocketServerObject,
  long *pVal
);

Parameters

hSocketServerObject

[in] .   Handle of server object

pVal

[out, retval] The returned value is the number of clients.

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

E_UNEXPECTED

An unexpected error occoured.

See Also

IAPI