Home |
Function xn_add_host_table_entry Function xn_delete_host_table_entry Function xn_interface_open_config Function xn_interface_ethernet_statistics Function xn_interface_statistics Function xn_rarp Function xn_send_ethernet_frame Function cb_wr_screen_string_fnc Function cb_rs232_connection_lost_fnc |
Function xn_rarpSend a RARP request to look up my IP number. int xn_rarp(int iface_no); Parametersiface_noInterface number (returned by xn_interface_open, xn_interface_open_config, or xn_attach). 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. Possible values for this function are:
RARP will broadcast an RARP request which will prompt any RARP servers on the net to reply with the machine's IP address. xn_bootp and xn_bootp_res provide a similar/superior capability.
|