<[EMAIL PROTECTED]>: >Just wondering if anyone knows of a way to keep a function, >E.g. socket.gethostbyaddr("12.34.56.78"), >>From taking to long-if it's run for more than 1 second, the function >gethostbyaddr will be terminated?
import socket socket.setdefaulttimeout(1) -- René Pijlman Wat wil jij leren? http://www.leren.nl -- http://mail.python.org/mailman/listinfo/python-list