BASS_Encode_ServerGetClients

Gets the number of clients connected to a server or all servers combined.

DWORD BASS_Encode_ServerGetClients(
    HENCODE handle
);

Parameters

handleThe encoder handle... 0 = all.

Return value

If successful, the number of connected clients is returned, else -1 is returned. Use BASS_ErrorGetCode to get the error code.

Error codes

BASS_ERROR_HANDLEhandle is not valid.

See also

BASS_Encode_ServerInit, ENCODECLIENTPROC