GetConnectingClients

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

Syntax

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

Parameters

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.

Return Values

The following 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.

Description

Gets the number of connected clients.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL