The ppp_connect function starts a dial-up connection to the remote PPP server by starting the PPP daemon in client mode. The argument dialnum points to a null terminated ASCII string containing the phone number of the remote PPP server. The argument user points to the username, and the argument passw points to the password. The TcpNet system uses username and password for remote user authentication using the Password Authentication Protocol (PAP). Both arguments are null terminated ASCII strings. The ppp_connect function is in the RL-TCPnet library. The prototype is defined in rtl.h. note - You must call the ppp_connect function when you want to establish a dial-up connection using PPP.
- If you use a direct cable connection, you can set dialnum to NULL because the Null_Modem device driver ignores the argument dialnum.
|