[python-win32] win32inet

Tim Golden tim.golden at viacom-outdoor.co.uk
Thu May 12 17:07:09 CEST 2005


[Arvind Ashok]
| 
| What I want to do is dial my connection( InternetDial() in VC++) and
| then hangup. it would be great if someone could send me some code to
| do this... just a simple dial and hangup...

You might want to be looking at win32ras. Something
like this:

<code>
  win32ras.Dial (
    None, 
    None, 
    (ras_entry_name, "", "", username, password, ""), 
    None
  )

  win32ras.HangUp ()
</code>

TJG

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


More information about the Python-win32 mailing list