예제 #1
0
파일: posixbase.py 프로젝트: steeliter/VTK
 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
예제 #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