![]() |
Home |
|
Function xn_add_dns_serverThis function adds an entry to the list of DNS servers the application can contact. int xn_add_dns_server(const BYTE * addr); ParametersaddrPointer to IP address of the DNS server in network byte order. return valueReturns 0 if successful, otherwise SOCKET_ERROR. If an error occurred, call xn_getlasterror and xn_geterror_string to return the error value. Section Error Codes further describes each error. You must call xn_set_server_list before this function can be used.
|