Home |
Function xn_chap_machine_name Function xn_ipcp_want_compress Function xn_ipcp_want_dns_address |
Function xn_chap_machine_nameSets the local host name for sending CHAP messages. int xn_chap_machine_name(char * host); ParametershostLocal host name. 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 the local host name to send in CHAP challenge and CHAP response messages. Challenges will be received during the password authentication phase and may be received at anytime after a connection is established.
|