Facundo Batista wrote: > hg wrote: > >> Do you mean use select ? > > No, socket's timeout: > >>>> import socket >>>> s = socket.socket() >>>> s.settimeout(5) >>>> ... > > Regards, > > -- > . Facundo > . > Blog: http://www.taniquetil.com.ar/plog/ > PyAr: http://www.python.org/ar/
My issue with that is the effect on write: I only want a timeout on read ... but anyway ... Thanks, hg -- http://mail.python.org/mailman/listinfo/python-list