[issue34466] socket.settimeout working incorrectly for connect() method of AF_UNIX socket

Benjamin Peterson report at bugs.python.org
Thu Aug 23 00:34:36 EDT 2018


Benjamin Peterson <benjamin at python.org> added the comment:

I think what you want to do is not use the timeout feature of Python sockets and instead use mysock.setsockopt(SO_SNDTIMEO, 5).

----------
nosy: +benjamin.peterson

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34466>
_______________________________________


More information about the Python-bugs-list mailing list