This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author holger+lp
Recipients asvetlov, holger+lp, yselivanov
Date 2018-01-29.22:29:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1517264990.0.0.467229070634.issue32715@psf.upfronthosting.co.za>
In-reply-to
Content
The current implementation verifies that the sock passed is a stream socket. This limitation appears to be arbitrary and is limiting.

* An AF_UNIX SOCK_DGRAM server socket becomes readable when one can accept(2) it. Just like SOCK_STREAM.
* One could provide a different factory to create a reader/writer to use a SOCK_DGRAM socket (but most likely nothing special is needed)
* A connected AF_UNIX SOCK_DGRAM socket will work with normal read/write messages just like SOCK_STREAM.

AF_UNIX, SOCK_DGRAM is interesting because it provides a reliable transport for messages. This avoids having to write message segmentation or packing messages in any kind of envelope.
History
Date User Action Args
2018-01-29 22:29:50holger+lpsetrecipients: + holger+lp, asvetlov, yselivanov
2018-01-29 22:29:50holger+lpsetmessageid: <1517264990.0.0.467229070634.issue32715@psf.upfronthosting.co.za>
2018-01-29 22:29:49holger+lplinkissue32715 messages
2018-01-29 22:29:49holger+lpcreate