nn::dlp::CTR::FakeClient::StartFakeSession Member Functionstatic nn::Result StartFakeSession( const u8 * pMac, u32 uniqueId, u8 childIndex );
| Name | Description | |
|---|---|---|
| in | pMac |
Specifies the MAC address of the server running the session. |
| in | uniqueId |
Specifies the child program's unique ID. |
| in | childIndex |
Specifies the child program's childIndex. |
Result values are returned as the result of the operation.| Value | Description |
|---|---|
Result::IsSuccess |
Participation in the download session was successful. |
ResultInvalidState |
The state is invalid. Use this with the CLIENT_STATE_DISCONNECTED_NETWORK state. |
ResultNoData |
There is no child program for the specified MAC address, unique ID, and child index. |
ResultWirelessOff |
Communication is impossible (the system is in Sleep Mode or wireless-disabled mode). |
ResultNotFoundServer |
The server you are trying to connect to was not found. |
ResultServerIsFull |
The number of clients for the server has reached the maximum number of connections. Cannot connect until the number of clients is reduced. |
ResultDeniedFromServer |
The server refused the connection. Returned while server is distributing a child program. |
ResultConnectionTimeout |
A connection was not established within a set time. This is returned when there is a poor signal or when transmissions are overloaded. |
ResultInternalError |
An inconsistency occurred in the system. |
Starts a download session with no download.
ResultDeniedFromServer.CONFIDENTIAL