Hello All,
I have a handicapped user who does not have DSL access
and has to use a dial up connection.
I'd like to make it easy for her to connect only
when needed. CPAN has Win32::RASE and
I've tried using this call:
unless ( $hrasconn = (RasEnumConnections())[1] ) {
print "Dialing sequence not started\n";
} elsif ( ($ip, $server_ip) = RasGetProjectionInfo( $hrasconn ) ) {
print "LOCAL:$ip SERVER:$server_ip\n";
} elsif ( Win32::RASE::GetLastError == 731 ) {
print "Protocol not configured yet\n";
} else {
die Win32::RASE::FormatMessage();
}
And all I get is the error "Dialing sequence not started".
Can anyone help?
Jon
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs