[Twisted-Python] Twisted lineReceived (sender)

Eric Mangold teratorn at twistedmatrix.com
Sat Jan 13 00:31:09 EST 2007

On Fri, 12 Jan 2007 22:24:41 -0600, Lee Connell <lee.a.connell at gmail.com>  

> I just started with twisted and want to write a simple chat server.  This
> code here works fine, however I want to know who the data is coming from  
> in the callbacks or events.

Inside a Protocol method self.transport.getPeer() should give you what you  

Eric Mangold
Twisted/Win32 Co-Maintainer

More information about the Twisted-Python mailing list