By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,285 Members | 2,124 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,285 IT Pros & Developers. It's quick & easy.

Send to all clients using UDP in Twisted

P: n/a
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!

Aug 20 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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
Aug 20 '06 #2

P: n/a
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
Aug 21 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.