nn::dlp::CTR::Server::GetClientState Member Functionstatic nn::Result GetClientState( ClientState * pClientState, u16 nodeId );
| Name | Description | |
|---|---|---|
| out | pClientState |
Returns the client's state. |
| in | nodeId | Specifies the client's node ID. |
Result values are returned as the result of the operation.| Value | Description |
|---|---|
Result::IsSuccess |
Getting the client status succeeded. |
ResultInvalidState |
The state is invalid. This function can be used after the OpenSessions function has succeeded (SERVER_STATE_OPENED_SESSIONS) if the state is not SERVER_STATE_ERROR. |
ResultNoData |
No client with the specified node ID is connected. |
Gets the client's state.
CONFIDENTIAL