nn::dlp::CTR::Server::OpenSessions Member Functionstatic nn::Result OpenSessions( bool isManualAccept = false, u8 channel = 0 );
| Name | Description | |
|---|---|---|
| in | isManualAccept | true: Allows client connections using the AcceptClient function. false : Allows client connections unconditionally. |
| in | channel | Specify the channel as 0 (auto select), 1, 6, or 11. On the production device, 0 is forcibly selected. |
Result values are returned as the result of the operation.| Value | Description |
|---|---|
Result::IsSuccess |
The session started successfully. |
ResultOutOfRange |
An invalid channel was specified. |
ResultInvalidState |
The state is invalid. Use with SERVER_STATE_INITIALIZED. |
ResultWirelessOff |
Communications cannot occur in this state (sleep or the wireless switch is off). |
Begins download sessions.
CONFIDENTIAL