Is it possible to programatically create then dial a PPP connection via RAS on a Windows NT/2000/XP box?
I need to be able to create the connection, turn 'off use default gateway on remote network', then dial the connection.
Sample code would be very helpful.
I'm sure there are modules that can do this, but I found the simplest way (for my purposes) was just to use the RASDIAL command. So I have a command that looks like:
system("rasdial", $conn, $uname, $pw);
which opens the connection, and then I use:
system("rasdial", $conn, '/DISCONNECT');
to close the connection.
HTH, Ricky
_______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
