Tom Cook added the comment:
+1 this.
I have a program that opens a UNIX socket as root for other processes to
communicate with it. I need to set the permissions to 0o775 and set the owner
gid to a specific group so that members of that group can communicate with the
process. It
New submission from Tom Cook :
The documentation for the `AF_PACKET` address family refers to
`PACKET_MULTIHOST`. I believe this should read `PACKET_MULTICAST`, which is
defined on Linux systems (`PACKET_MULTIHOST` is not).
--
assignee: docs@python
components: Documentation
messages
Tom Cook added the comment:
The same goes for `Connection.recv()`, as in the sample code another case where
the thread will never terminate is when a `Client` is connected to the socket
but never sends any messages; in this case, the call to `recv()` will block
forever. There is no way at
New submission from Tom Cook :
If nothing connects to it, `multiprocessing.connection.Listener.accept()` will
block forever with no good way to interrupt it.
Supposing that a thread implements a loop like this:
def run(self):
l = Listener(socket_path, 'AF_UNIX')