Send to all clients using UDP in Twisted

elliot.hughes at gmail.com elliot.hughes at gmail.com
Mon Aug 21 04:09:25 EDT 2006


Thanks for the responce, I am sending over the internet so I can't use
that method. Thanks for the reply anyway!

Martin P. Hellwig wrote:
> Elliot Hughes wrote:
> > Hi Everyone, I am trying to right a server that can receive a message
> > and send it to all clients using UDP on twisted. I have got it so far
> > that it can echo to the client that sent the message but not to the
> > rest. I tried using multicast but that requires almost total rewrite,
> > and the client which is not in python can't handle it. Are there any
> > alternative methods or a workaround?
> >
> > Thanks alot for your time!
> >
> Depends on you network topology and infrastructure, one possible option
> is that if the clients are on the same subnet you could send it to the
> broadcast address, however that wouldn't make your netadmin happy, if he
> didn't filter broadcast in the first place (many switches default filter
> that).
> 
> -- 
> mph




More information about the Python-list mailing list