Our company has started to design a system where many (typically 4 or 6) force-sensitive platforms, containing load-cells, would stream data to the PC via TCP.
Each platform and the PC shall be connected by network cable to a network switch acting as a hub.
Each platform will be running a microcontrolled device, with a firmware to be developed by our supplier.
So my questions are:
What is the recommended client/server relationship between the software application and each one of the peripherals?
Should the application establish one connection for each platform?
At first I would think the platform should be the server (listener), so that it stays continuously in "standby" (listening) when turned on, waiting for the PC to ask to connect to it (I wonder how to specify the correct IP, though...).
But since the PC is only one and the platforms are many, maybe the PC should be the "server", with each peripheral being one of many "clients"? That got me confused...