[Twisted-Python] Problem with additional connection

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Thu Mar 29 11:19:42 EDT 2012


On 28 Mar, 07:52 pm, hankshz at gmail.com wrote:
>Hi, all
>
>I'm writing a client program with Twisted. The client will first
>connect one server, and based on the data received in the function of
>dataReceived, the client need to connect other servers. I just tried
>to call  reactor.connectTCP(another_host, another_port,
>another_factory) one more time, but there's an exception. Is the
>twisted allowed to that? Or is there some rules should be followed to
>achieve that?

Hi,

Your question is incomplete, and cannot be answered in any useful way. 
Please take a look at http://sscce.org/ for some tips about asking good 
questions.

Thanks,
Jean-Paul



More information about the Twisted-Python mailing list