socket read timeout

skip at pobox.com skip at pobox.com
Tue Mar 27 10:48:59 EDT 2007


    >> I am looking for the most efficient / cleanest way to implement a
    >> socket read with timeout (Windows mainly but would be great if the
    >> same code worked under *nix)

    Jarek> Did you see http://www.timo-tasi.org/python/timeoutsocket.py ?

Also socket objects have timeout attributes now.

Skip




More information about the Python-list mailing list