Part of twisted.internet.endpoints View Source View In Hierarchy
Implements interfaces: twisted.internet.interfaces.IStreamServerEndpoint
Method | __init__ | No summary |
Method | listen | Implement IStreamServerEndpoint.listen
to listen on a TCP socket |
Instance Variable | _reactor | An IReactorTCP
provider. |
Instance Variable | _port | The port number on which to listen for incoming connections. (type: int) |
Instance Variable | _backlog | size of the listen queue (type: int) |
Instance Variable | _interface | the hostname to bind to, defaults to '' (all) (type: str) |
Parameters | reactor | An IReactorTCP
provider. |
port | The port number used listening | |
backlog | size of the listen queue | |
interface | the hostname to bind to, defaults to '' (all) |
IStreamServerEndpoint.listen
to listen on a TCP socket