[Twisted-Python] connection identification string

Itamar Shtull-Trauring itamar at itamarst.org
Thu Feb 28 08:41:03 EST 2008

On Thu, 2008-02-28 at 13:58 +0200, coder_gus wrote:
> Is there a way to identify a connection by a number/string for later use?
> It could be easily implemented or given the async character of twisted 
> probably is not worth it ... but just as a hint? Is there?

Most of the time you can just use a reference to the Protocol
instance... if you need to refer to the connection based on input from
network protocol you can just use a dictionary mapping strings to

More information about the Twisted-Python mailing list