c - Real-Time Data Streaming to Multiple Clients -


I would like to write an application that will stream data from one server to 2400 baud on the Internet and for many clients. The data will be identical to every customer, and it would be OK to send it as a UDP stream, because the exact data accuracy is not 100% required, as the data format will be sent for a checkup and data for repeatedly sent to a loop can go.

What is the best way to do this? I would like to write the server in C, but I do not know how this data is to multicast various clients which it will get across the country.

I'm sure that it seems like to go about my project in a very rigid manner, as opposed to using some kind of fetch command, but I probably I want to do this way.

Post Text "itemprop =" text ">

You want to take a look at Unicast for this, especially if your clients are on multiple directories. You can assign your data to each of your customers with TCP or UDP can send traffic, especially if the bandwidth requirements are small, IP multicast works best for each other's group of nodes on the network.

Loops repeatedly on client addresses, and Your d To limit the rate of data you send moderate to the loop.

Note the issue of reliability: Purity is not the only problem with the UDP; You also have no receipt , Which your data was received, and there was no guarantee of order.

The baud actually does not apply here, because the data is divided into more or less discrete quantities.


Comments