nn::socket::GetPrimaryAddress Function
s32 GetPrimaryAddress(
u8 * pHostAddress,
u8 * pNetmask
);
| Name | Description | |
|---|---|---|
| out | pHostAddress | Specifies the buffer in which to output the address. |
| out | pNetmask | Specifies the output buffer for the netmask. |
Gets the IP address and netmask of the local host.
CONFIDENTIAL