[Twisted-Python] More Twisted questions
Britt Green
seamonkeys at gmail.com
Fri Aug 13 01:31:01 EDT 2004
Hello All,
Thanks for everyone who's helped me out so far. Twisted is slooowly
starting to make sense to me! ;)
So I've been playing around with the Chat Server example, and I've
extended it to respond to different commands. But there's one thing
I'd like to know how to be able to do with it. When a user connects,
his connection is added to the list of clients that are connected to
the server. When a message is entered, the program goes through each
connection in the list and sends them the message.
What I want to know is this: suppose I want to slightly change the
message for one person. For example, when I type a line of text I
might like to see "You say: foobar" while everyone else just sees
"foobar". How would I pick out that particular connection from the
list?
Cheers!
Britt
More information about the Twisted-Python
mailing list