[issue32715] Make create_unix_server for SOCK_DGRAM work

holger report at bugs.python.org
Mon Jan 29 18:06:20 EST 2018


holger <holger+lp at freyther.de> added the comment:

Could you please tell me which exact posix document and paragraph says that?

In Linux sending can fail but once sendmsg worked the message is enqueued on the other socket (https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/net/unix/af_unix.c?id=110af3acb8cfd79dcb5676a01e07cb2b6afa4c04#n1626).

In FreeBSD (http://fxr.watson.org/fxr/source/kern/uipc_usrreq.c?v=FREEBSD10#L911) it looks similar. If the mbuf can't be put into the recvq of the remote socket.. an error will be returned.

What about SEQPACKET support?

----------

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


More information about the Python-bugs-list mailing list