win32ras.Dial
int, int = Dial(dialExtensions, fileName , RasDialParams , callback )
Establishes a RAS connection to a RAS server.
Parameters
Comments
Note - this handle must be closed using win32ras::HangUp, or else the RAS port will remain open, even after the program has terminated. Your operating system may need rebooting to clean up otherwise!
Win32 API References
Return Value
The return value is (handle, retCode).It is possible for a valid handle to be returned even on failure.
If the returned handle is = 0, then it can be assumed invalid.