class documentation
class TCP4ServerEndpoint(_TCPServerEndpoint): (source)
Constructor: TCP4ServerEndpoint(reactor, port, backlog, interface)
Implements TCP server endpoint with an IPv4 configuration
Method | __init__ |
No summary |
Inherited from _TCPServerEndpoint
:
Method | listen |
Implement IStreamServerEndpoint.listen to listen on a TCP socket |
Instance Variable | _backlog |
Undocumented |
Instance Variable | _interface |
Undocumented |
Instance Variable | _port |
Undocumented |
Instance Variable | _reactor |
Undocumented |
Parameters | |
reactor | An IReactorTCP provider. |
port:int | The port number used for listening |
backlog:int | Size of the listen queue |
interface:str | The hostname to bind to, defaults to '' (all) |