nn::dlp::CTR::Server::AcceptClient Member Functionstatic nn::Result AcceptClient( u16 nodeId );
| Name | Description | |
|---|---|---|
| in | nodeId | Specifies the client's node ID. |
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.
CONFIDENTIAL