Home |
Function xn_add_host_table_entry Function xn_delete_host_table_entry Function xn_set_server_list Function xn_interface_open_config Function xn_interface_ethernet_statistics Function xn_interface_statistics Function xn_send_ethernet_frame Function cb_wr_screen_string_fnc Function cb_rs232_connection_lost_fnc |
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.
|