[Twisted-Python] How could I distinguish each TCP connection?
nkeric at gmail.com
Tue Jun 21 01:20:11 EDT 2005
2005/6/21, Christopher Armstrong <radeex at gmail.com>:
> You can do it based on the Protocol instance. For TCP, there is one
> Protocol instance per connection, and it has access to the transport.
Big thanks first!
When I writing codes like the following to provide TCP/UDP services:
factory = Factory()
factory.protocol = MyTCPService
How could I get the protocol instance of each client and maintain them?
Please tell me more details if you could, since I'm very very new to twisted
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-Python