module documentation
UNIX socket support for Twisted.
End users shouldn't use this module directly - use the reactor APIs instead.
Maintainer: Itamar Shtull-Trauring
Class |
|
A client for Unix sockets. |
Class |
|
A connected datagram UNIX socket. |
Class |
|
Undocumented |
Class |
|
Datagram UNIX port, listening for packets. |
Class |
|
No class docstring; 0/4 instance variable, 2/6 methods, 1/1 class method documented |
Class |
|
No class docstring; 0/2 instance variable, 0/3 method, 1/1 class method documented |
Class | _ |
Mixin for stream-oriented UNIX transports which uses sendmsg and recvmsg to offer additional functionality, such as copying file descriptors into other processes. |
Class | _ |
No class docstring; 1/1 method documented |
Class | _ |
Behaviorless placeholder used when twisted.python.sendmsg is not available, preventing IUNIXTransport from being supported. |
Function | _ancillary |
Pack an integer into an ancillary data structure suitable for use with sendmsg.sendmsg . |
Function | _in |
Determine whether the given unix socket path is in a filesystem namespace. |
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.