| // Possible client error codes
#define PPP_INV_COMPORT -1 // Invalid port number or PPP server is active at this port.
// This error code also occurs, if
// the PPP client is interrupted while dialing
// (e.g. user break by setting the flag modem_break
// in the pppclient_init structure
// or another modem error.
#define PPP_INUSE -2 // Client is already active.
#define PPP_INV_USER -3 // Invalid user or password
#define PPP_OPEN_FAIL -4 // Opening the interface failed.
#define PPP_INV_DEV -5 // Interface was not found.
#define PPP_IPCFG_FAIL -6 // Got an invalid IP from the peer.
#define PPP_CONNECT_FAIL -7 // Connection to the peer failed.
#define PPP_CLOSETIMEOUT -8 // Closing connection timed out. |