module documentation
(source)

UNIX socket support for Twisted.

End users shouldn't use this module directly - use the reactor APIs instead.

Maintainer: Itamar Shtull-Trauring

Variable sendmsg Undocumented
Class Server No class docstring; 1/1 class methods, 0/2 instance variables, 0/3 methods documented
Class Port No class docstring; 1/1 class methods, 0/7 instance variables, 2/6 methods documented
Class Client A client for Unix sockets.
Class Connector Undocumented
Class DatagramPort Datagram UNIX port, listening for packets.
Class ConnectedDatagramPort A connected datagram UNIX socket.
Function _ancillaryDescriptor Pack an integer into an ancillary data structure suitable for use with sendmsg.sendmsg.
Class _SendmsgMixin Mixin for stream-oriented UNIX transports which uses sendmsg and recvmsg to offer additional functionality, such as copying file descriptors into other processes.
Class _UnsupportedSendmsgMixin Behaviorless placeholder used when twisted.python.sendmsg is not available, preventing IUNIXTransport from being supported.
Function _inFilesystemNamespace Determine whether the given unix socket path is in a filesystem namespace.
Class _UNIXPort No class docstring; 1/1 methods documented
sendmsg = (source)

Undocumented

def _ancillaryDescriptor(fd): (source)

Pack an integer into an ancillary data structure suitable for use with sendmsg.sendmsg.

def _inFilesystemNamespace(path): (source)

Determine whether the given unix socket path is in a filesystem namespace.

While most PF_UNIX sockets are entries in the filesystem, Linux 2.2 and above support PF_UNIX sockets in an "abstract namespace" that does not correspond to any path. This function returns True if the given socket path is stored in the filesystem and False if the path is in this abstract namespace.

API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.