nn::dlp::CTR::Server::StartDistribute Member Functionstatic nn::Result StartDistribute();
None.
| Value | Description |
|---|---|
| ResultSuccess | The session started successfully. |
ResultInvalidState |
The state is invalid or there is no client that was AcceptClient(). Use with the SERVER_STATE_OPENED_SESSIONS state (after OpenSessions() was successful). |
| ResultWirelessOff | Communications cannot occur in this state (sleep or the Wifi button is off). |
| ResultFailedToAccessMedia | Cannot access the media. The card may have been removed. |
Begins the data download sessions.
After this API is called, no new client connections can be made. In addition, clients in the CLIENT_STATE_WAITING_ACCEPT state are disconnected when this function is called. The server not only distributes the child program but may also distribute the system required to boot the child program. After the client that downloaded the system disconnects, the server waits in the SERVER_STATE_WAITING_RECONNECT state forever until the client reconnects to it. However, since there is no guarantee that the client will reconnect, allow the user to halt the download data session at any time from the SERVER_STATE_WAITING_RECONNECT state.
CONFIDENTIAL