twisted.internet.interfaces.IReactorUNIX.listenUNIX(address, factory, backlog=50, mode=438, wantPID=0) method documentationtwisted.internet.interfaces.IReactorUNIX
View Source
Listen on a UNIX socket.
| Parameters | address | a path to a unix socket on the filesystem. |
| factory | a twisted.internet.protocol.Factory
instance. | |
| backlog | number of connections to allow in backlog. | |
| mode | The mode (not umask) to set on the unix socket. See platform
specific documentation for information about how this might affect
connection attempts. (type: int) | |
| wantPID | if True, create a pidfile for the socket. If address is a
Linux abstract namespace path, this must be False. | |
| Returns | An object which provides IListeningPort. | |