Send to all clients using UDP in Twisted

E

Elliot Hughes

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!
 
M

Martin P. Hellwig

Elliot said:
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).
 
E

elliot.hughes

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,689
Members
48,796
Latest member
Greg L.

Latest Threads

Top