twisted.internet.endpoints._TCPServerEndpoint(object)
class documentationtwisted.internet.endpoints
View Source
(View In Hierarchy)
Known subclasses: twisted.internet.endpoints.TCP4ServerEndpoint, twisted.internet.endpoints.TCP6ServerEndpoint
Implements interfaces: twisted.internet.interfaces.IStreamServerEndpoint
A TCP server endpoint interface
Method | __init__ | |
Method | listen | Implement IStreamServerEndpoint.listen
to listen on a TCP socket |
Parameters | reactor | An IReactorTCP
provider. |
port | The port number used for listening (type: int) | |
backlog | Size of the listen queue (type: int) | |
interface | The hostname to bind to (type: str) |
Implement IStreamServerEndpoint.listen
to listen on a TCP socket