nn::dlp::CTR::Server::AcceptClient Member Function

Syntax

static nn::Result AcceptClient(
     u16 nodeId
);

Arguments

Name Description
in nodeId Specifies the client's node ID.

Return Values

Returns the result of the operation.

Description

Allows client connections.

Can be used in the SERVER_STATE_OPENED_SESSIONS state (from when the OpenSessions function is called until when the StartDistribute function is called). Call the OpenSession function with the isManualAccept argument set to true to enter the CLIENT_STATE_WAITING_ACCEPT state after the connection and continue waiting for permission from the server. Call this function to allow this client to connect. After calling, the client transitions to the CLIENT_STATE_WAITING_INVITE state. Call the DisconnectClient function to reject the connection and disconnect.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL