コード例 #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
ファイル: posixbase.py プロジェクト: 309972460/software
 def connectTCP(self, host, port, factory, timeout=30, bindAddress=None):
     c = tcp.Connector(host, port, factory, timeout, bindAddress, self)
     c.connect()
     return c