I have 2 identical embedded devices from which I am attempting to acquire data using TCP/IP and write this data to file. Each sample I'm attempting to acquire is 312bytes and in this development phase I would like to acquire at 100Hz for each device.
Using ConnectToTCPServer (...) I establish two independent connections which point to the same TCPCallback function. (I manage which TCP Handle invoked the callback in this function). The problem is that one connection seems to take dominance over the other thus hindering any data transfer from one of the devices.
How can I fix this issue and pay an equal amount of attention both device's TCP calls?
Thank you,
Craig