class documentation
class SocketTCPMixin(ConnectToTCPListenerMixin): (source)
Known subclasses: twisted.internet.test.test_tcp.TCPFDPortTestsBuilder
Mixin which uses IReactorSocket.adoptStreamPort
to hand out listening TCP ports.
Method | get |
Get a TCP port from a reactor, wrapping an already-initialized file descriptor. |
Inherited from ConnectToTCPListenerMixin
:
Method | connect |
Connect to the given listening TCP port. |
Constant | LISTENER |
The host on which the port is expected to be listening. This is specific to avoid compatibility issues with Windows, which cannot connect to the wildcard host. |