[Twisted-Python] How to send message to all connected clients

Minh Luu minh.luu at toll.com.au
Sun Jul 20 21:30:03 EDT 2003


Could I have some advice on how to send a message to all connected clients.

Where do I keep the list of the client connections - in the sub-class of Protocol
or in the sub-class of Factory?

Do I call the write method for each client connection or there is a better way in twisted
to send a message to all the clients or a group of clients.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20030721/8c11fd34/attachment.htm 

More information about the Twisted-Python mailing list