nn::socket::GetDefaultGateway Function

Syntax

s32 GetDefaultGateway(
     u8 * pGateway
);

Arguments

Name Description
out pGateway Specifies the buffer in which to output the address.

Return Values

0 or greater when successful.

Description

Gets the address of the default gateway.


CONFIDENTIAL