Ejemplo n.º 1
0
 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
Ejemplo n.º 2
0
 def connectTCP(self, host, port, factory, timeout=30, bindAddress=None):
     c = tcp.Connector(host, port, factory, timeout, bindAddress, self)
     c.connect()
     return c