#include <rtl.h>
void ppp_connect (
char const* dialnum, /* Pointer to string containing the number to dial. */
char const* user, /* Username for authentication. */
char const* passw ); /* Password for authentication. */
Description
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.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.