[python-win32] win32ras.Dial

Lai, Chern chern.lai at AirservicesAustralia.com
Fri Jan 6 03:23:33 CET 2006


Dear Sir/Madam,

We have successfully initiated a connection via the win32ras.Dial
command but it bombed out on the win32ras.HangUp command every time.
Here is our code:

import win32ras
 
# Dialup with a RAS entry
hdl, retcode = win32ras.Dial (
    None, 
    None, 
    ("windows_ras_entry_name", "", "", "username", "password", ""), 
    None
  )
 
# Hangup the connection
win32ras.HangUp (hdl)


Please help us as we are stumped and there are not much examples or
documentation around yet.


Thank you.

Chern


More information about the Python-win32 mailing list