I have one client and many servers and I need to let the client read the values of different servers. Only modbus-tcp protocol. What I need to ask are as follows:
Is there other solution to solve the communication except Windows socket? If not, how can I create a socket and use it?
how to read the value of multiple discrete registers?
how can one client communicate with many servers? Create multiple sockets?
I'm running on Windows 7, Visual Studio 2015, MFC. I've tried to create a socket but failed.
I expect some useful documents or direct guidance. I'm not particularly clear about the whole technical solution.