nn::socket::GetHostId Function

Syntax

u32 GetHostId(
     void
);

Arguments

None.

Return Values

Returns 0 if the system is not in a state where communication is possible. (No IPv4 address is allocated to the local host.)

Description

Gets the local host's primary IPv4 address.

See Also


Revision History

2010/06/14
Initial version.

CONFIDENTIAL