nn::socket::GetPrimaryAddress
s32 GetPrimaryAddress( u8 * pHostAddress, u8 * pNetmask );
Gets the IP address and netmask of the local host.
CONFIDENTIAL