nn::dlp::CTR::Server::GetConnectingClients Member Function

Syntax

static nn::Result GetConnectingClients(
     u16 * pNum,
     u16 clients[],
     u16 size
);

Arguments

Name Description
out pNum Returns the number of client IDs stored in pClients.
clients[]
in size Specifies the number of elements in pClients.
out pClients Returns the client's node ID.

Return Values

The following Results are returned as the result of the operation.

Value Description
ResultSuccess 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.

Description

Gets the number of connected clients.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL