Home |
Function xn_add_host_table_entry Function xn_delete_host_table_entry Function xn_name2ip_addr 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_name2ip_addrThis function translates a host name or IP address string in decimal dotted notation to a binary IP address. int xn_name2ip_addr(BYTE * ip_addr, const char * name); Parametersip_addrPointer to a 4-byte buffer to receive the result in network byte order. On error, *ip_add is set to 0.0.0.0 or 255.255.255.255. namePointer to the string to resolve. return valueReturns 1 if successful; otherwise 0.
|