> how do i timeout if its taking too long for a socket.connect to > establish a connect? Hi gk, You may need to use a third-party module called 'timeoutsocket' http://www.timo-tasi.org/python/timeoutsocket.py [Side note: In the upcoming version of Python (Python 2.3), sockets will have a 'settimeout()' method: http://python.org/dev/doc/devel/lib/socket-objects.html ] Good luck to you!