![]() |
Home |
|
Function xn_set_server_listThis function defines a list of DNS server IP addresses RTIP-32 can contact to resolve host names. int xn_set_server_list(DWORD list[], int num_elements); ParameterslistPointer to an array of IP addresses of DNS servers in network byte order. RTIP-32 will use the servers in the order they appear in this array. num_elementsNumber of addresses in list. return valueReturns 0 if successful, otherwise SOCKET_ERROR. If an error occurred, call xn_getlasterror and xn_geterror_string to return the error value. Error Codes further describes each error. Possible values for this function are:
This function is called automatically by the DHCP client function xn_dhcp or by a PPP negotiation if the server publishes a DNS server to the client.
|