nn::socket::GetHostId Function

Syntax

u32 GetHostId(
     void
);

Arguments

None.

Return Values



Value Description
0 The system is not in a state where communication is possible. (No IPv4 address is allocated to the local host.)
0 In other cases, returns a 32-bit value for the network byte order for the host's primary IPv4 address.

Description

Gets the local host's primary IPv4 address.

See Also


Revision History

2010/06/14
Initial version.

CONFIDENTIAL