Shane Harvey <shn...@gmail.com> added the comment:

I opened a PR to add the socket.TCP_KEEPALIVE flag *on macOS only*. I don't see 
a reason to add it on Windows since as far as I can tell, TCP_KEEPALIVE is 
completely undocumented there. Besides there are already two ways to configure 
keepalive times on Windows (using sock.ioctl+SIO_KEEPALIVE_VALS and using 
sock.setsockopt+TCP_KEEPIDLE), I don't think we should add a third way.

See https://github.com/python/cpython/pull/25079

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34932>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to