nn::dlp::CTR::Server::OpenSessions Member Function

Syntax

static nn::Result OpenSessions(
     bool isManualAccept = false,
     u8 channel = 0
);

Arguments

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.

Return Values

The following Results are returned as the result of the operation.

Value Description
ResultSuccess 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 Wifi button is off).

Description

Begins download sessions.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL