I have an embedded box that talks to a PC (a controller for an industrial device which is used to detect its state and also control it). I am using TCP (Ethernet). The way I understand, there are two ways to architect this:
- Either the box is always the Client and the PC is always the Server, and then the only way the box will respond it when it is polled
- Or both can act as both Client as well as Server
What are the design considerations for each mode? Which is better?
Thanks