Shutting down internet connection
Mark Hammond
MarkH at ActiveState.com
Tue Jun 27 20:21:27 EDT 2000
The win32ras module can do this. Look for the "win32\Demos\rastest.py"
script. Specifically:
rastest.py -d "Connetion Name"
Will hangup the named connection.
Mark.
--
markh at activestate.com - but if you think I speak for them, you dont know
Dick!
"hulme" <kupisch at hotmail.com> wrote in message
news:3958FCB1.A1B62061 at hotmail.com...
> Hi everyone,
>
> I am looking for a way to shutdown an internet connection that was
> established by dial-on-demand on a remote computer. i.e. there are two
> computers given both running WIN98 on starting a browser the connction
> gets dialed on the other machine. So, I would like to have a script that
> shuts down the connection from the computer I am browsing with. Any way
> to do this with Python or Windws Extensions.
> Thanks for help!
>
More information about the Python-list
mailing list