nn::ac::CTR::GetConnectingNetworkArea FunctionResult GetConnectingNetworkArea( NetworkArea * area );
| Name | Description | |
|---|---|---|
| out | area | Variable for writing a WAN connection or a LAN connection. |
| Value | Description |
|---|---|
Result::IsSuccess |
Completed without error. |
ResultInvalidData |
NULL was specified as an argument. |
ResultNotConnecting |
Not connected to a network. |
| A value other than the above. | Failed for reasons other than those given above. |
Gets whether the currently connected access point is a WAN connection or a LAN connection.
Even if connected with the LAN specification as set by DebugSetNetworkArea, this function will return WAN if it has confirmed that a process operating in the background has sent a request with a WAN specification out over the Internet.
CONFIDENTIAL