twisted.internet.endpoints.TCP4ServerEndpoint(_TCPServerEndpoint) class documentationtwisted.internet.endpoints
View Source
(View In Hierarchy)
Implements TCP server endpoint with an IPv4 configuration
| Method | __init__ |
Inherited from _TCPServerEndpoint:
| 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, defaults to '' (all) (type: str) |