t.i.unix : module documentation

Part of twisted.internet View Source

Various asynchronous TCP/IP classes.

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

Maintainer: Itamar Shtull-Trauring

Class Server Undocumented
Class Port No class docstring; 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.send1msg.
Class _SendmsgMixin 0 Mixin for stream-oriented UNIX transports which uses sendmsg and recvmsg to offer additional functionality, such as copying file descriptors into other processes.
Class _SendmsgMixin 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
def _ancillaryDescriptor(fd): (source)
Pack an integer into an ancillary data structure suitable for use with sendmsg.send1msg.
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 at 2012-09-01 11:44:56.