nn::socket::GetResolver Function

Syntax

s32 GetResolver(
     u8 * pResolver1,
     u8 * pResolver2
);

Arguments

Name Description
out pResolver1 Specifies the buffer in which to output the address of the primary DNS server.
out pResolver2 Specifies the buffer in which to output the address of the secondary DNS server.

Return Values

0 or greater on success.

Description

Gets the address of the DNS server to use for name resolution.

Revision History

2010/11/10
Initial version.

CONFIDENTIAL