nn::socket::GetHostId Function
u32 GetHostId(
void
);
None.
0 if the system is not in a state where communication is possible. (No IPv4 address is allocated to the local host.) Gets the local host's primary IPv4 address.
CONFIDENTIAL