DNSOpen
C Specification
#include <dolphin/ip.h>
s32 DNSOpen ( DNSInfo* info, const u8*
addr );
Description
Open the DNSInfo to query domain name system. DNSInfo must be
opened for each DNS server. Currently the library run-time uses UDP to access
DNS servers. DNS server addresses could be obtained by DHCP.
Arguments
info |
Pointer to DNSInfo to open. |
addr |
DNS server address. |
Return Values
IP_ERR_NONE |
Succeeded. |
IP_ERR_UNREACHABLE |
Specified DNS server is unreachable from this machine. |
IP_ERR_EXIST |
Specified info is already in use. |
IP_ERR_INVALID |
info is already connected to a
socket. |
See Also