nn::dlp::CTR::Server::GetConnectingClients Member Functionstatic nn::Result GetConnectingClients( u16 * pNum, u16 clients[], u16 size );
| Name | Description | |
|---|---|---|
| out | pNum | Returns the number of client IDs stored in clients. |
| out | clients[] | Returns the client's node ID. |
| in | size | Specifies the number of elements in the clients array. |
Result values are returned as the result of the operation.| Value | Description |
|---|---|
Result::IsSuccess |
The number of clients was obtained successfully. |
ResultInvalidState |
The state is invalid. This function can be used after the OpenSessions() function has succeeded (SERVER_STATE_OPENED_SESSIONS) as long as the state is not SERVER_STATE_ERROR. |
Gets the number of connected clients.
CONFIDENTIAL