Real-Time Data Streaming to Multiple Clients
Posted
by AriX
on Stack Overflow
See other posts from Stack Overflow
or by AriX
Published on 2010-05-17T20:04:52Z
Indexed on
2010/05/17
20:11 UTC
Read the original article
Hit count: 226
Hi all,
I would like to write an application which will stream data at 2400 baud over the internet from a server to multiple clients. The data will be the same for each client, and it would probably be fine to send it as a UDP stream, since exact data accuracy is not a 100% necessity, as there are checksums built-in to the data format and the data will be sent repeatedly on a loop.
What is the best way to do this? I would want to write the server in C, but I don't know how to best multicast this data to the different clients that would be receiving it all over the country.
I'm sure this seems like a pretty draconian way to go about my project, as opposed to just using some sort of fetch command, but I'd prefer to do it this way if possible.
© Stack Overflow or respective owner