[issue19530] cross thread shutdown of UDP socket exhibits unexpected behavior

mpb report at bugs.python.org
Tue Nov 12 03:41:31 CET 2013


mpb added the comment:

> "Connecting" a UDP socket doesn't established a duplex connection like
> in TCP:

Stream and duplex are orthogonal concepts.

I still contend that connected UDP sockets are a duplex communication channel (under every definition of duplex I have read).

The Linux connect manpage and the behavior of the Linux connect and shutdown system calls agree with me.  (So does the OpenBSD shutdown manpage.)

But we agree that this is not a Python issue (unless Python wants to improve its documentation to explicitly mention the benefits of cross thread shutdowns of TCP sockets).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19530>
_______________________________________


More information about the Python-bugs-list mailing list