I am writing an application that receives a high-volume of data in the form of multicast UDP packets. To ensure that missed data is low, we are required to listen to two streams for the same data. The IP/port combos are as follows:
that is, the IPs are different but the ports are the same. By comparing the timestamp associated with the data sent to us with the time we actually receive it, we noticed there are times there is a significant time lag (on the order of several or more seconds). Another problem that has come up is that sometimes one of the streams comes in right away while the second stream may be delayed for several or more seconds as well.
Has any one encountered or heard of these problems before? If so, do you know how they may be resolved? Any and all help is appreciated.
The program is being developed in C using Micrsoft Visual Studio 2008.