
November 17th, 2004, 01:41 PM
|
 |
I <3 ASCII
|
|
Join Date: Aug 2003
Location: Wishing i was still at... The Ohio State University
|
|
|
Python Modem difficulties
Here's the situation using the following command:
Code:
self.fs, self.ret = win32ras.Dial(None, None, (self.conn, self.phone, '', self.acct1, self.pwd1, ''), None)
the thread locks up if the modem is unable to connect. If it just dials a random 'non modem' number and a person picks up the interface is not smart enough to hang up and return an error.
Does anyone know of a way to either set a time limit on the connection phase, or determine if a line has been opened and closed without modem communications?
-MBirchmeier
__________________
My blog on programming related things. Hopefully I won't bog it down with details on my life
Apparently even computers have freudian slips.
0x4279 7465 204D 6521
|