Home |
Function xn_add_host_table_entry Function xn_delete_host_table_entry Function xn_arp_send 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_arp_sendSends a gratuitous ARP. int xn_arp_send(int interface_no); Parametersxn_interface_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:
Broadcasts an ARP request to all hosts on the local network segment using its own IP address as the sender and target protocol address in order to force all other hosts on the network to update the entry in their ARP cache for this IP address. This routine must be called after xn_interface_open and getting an IP address.
|