Home |
Function xn_ipcp_want_compress Function xn_ipcp_want_dns_address Function xn_pap_user |
Function xn_pap_userSet user info for logging on to a remote host using PAP. int xn_pap_user(int iface_no, char * user_name, char * pass_word); Parametersiface_noInterface number returned by xn_attach. user_nameLogon username. pass_wordLogon password. 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:
This function establishes a PAP username and password to use when logging on to a remote host during the password authentication phase. This function overwrites previous account information.
|