![]() |
Home |
|
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.
|