Home |
Function xn_ipcp_open Function xn_ipcp_want_compress Function xn_ipcp_want_dns_address |
Function xn_ipcp_openEnables IPCP Protocol. int xn_ipcp_open(int iface_no); Parametersiface_noInterface number returned by 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:
This function enables IPCP protocol negotiation to be performed. Successful IPCP negotiation will enable sending and receiving IP packets after the PPP connection is established. IPCP negotiation is started after LCP negotiation and authentication have completed (see xn_lcp_open). This function must be called after xn_attach but prior to xn_lcp_open.
|