socket read timeout
hg
hg at nospam.org
Tue Mar 27 15:35:11 EDT 2007
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
More information about the Python-list
mailing list