![]() |
Home |
|
Function xn_rt_delDelete an entry from the routing table. int xn_rt_del(BYTE * dest, const BYTE * mask); ParametersdestDestination IP address. maskDestination network mask. 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:
Deletes the given route from the routing table. Please note that all open sockets connected before xn_rt_del has been called will continue to use the deleted route. To replace a route in use by open sockets, use function xn_rt_replace.
|