def connectTCP(self, host, port, factory, timeout=30, bindAddress=None): """@see: twisted.internet.interfaces.IReactorTCP.connectTCP """ c = tcp.Connector(host, port, factory, timeout, bindAddress, self) c.connect() return c
def connectTCP(self, host, port, factory, timeout=30, bindAddress=None): c = tcp.Connector(host, port, factory, timeout, bindAddress, self) c.connect() return c