[Twisted-Python] The right way to broadcast to your TCP/IP clients?
Steve Freitas
sflist at ihonk.com
Mon Mar 29 00:06:12 MST 2004
On Sunday 28 March 2004 9:04 pm, Tim Stebbing wrote:
> alternativly, you could use PB and share some sort of 'talker' object
> between all connections. this would allow a client to simply do:
>
> talker.callRemote("write", "hello world")
>
> and have everyone else recieve it. I get the feeling the pb/cred combo
> would be ideal for what your trying to do. Check it out:
> http://www.twistedmatrix.com/documents/current/howto/pb-intro
Unfortunately, I haven't got Python on both ends of the wire here. I've got
Twisted/Python on one side, and C++ or similar on the other end. So unless
I'm wrong about PB, I don't think it'll apply here. Cred looks useful,
though. Thanks!
Steve
More information about the Twisted-Python
mailing list