![]() |
Home |
|
Function xn_arp_delxn_arp_del removes one or all entries from the ARP cache. int xn_arp_del(BYTE * ipn); ParametersipnPointer to the IP address in network byte order to be removed from the ARP cache. If this parameter is NULL, all ARP cache entries are deleted. 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. When parameters ipn is not NULL and the ARP cache entry is not found, error code EFAULT is set. For ipn == NULL, this function never returns an error, even if no ARP cache entries have been deleted.
|