01-11-2012 04:28 AM
It need to make a program on server run as attached picture. May I know what kind of structure should use on server.
Every device can only have one tcp link.
Every link has 2 ports, one for command, one for data.
10-30-2012 03:18 PM
How many connections will you have? Ideally you will need something that scales very nicely.
10-30-2012 05:06 PM
Are your clients and devices independent of each other. Can client 1 talk to both device 1 and device 2? Is the server acting as a broker between the clients and the devices? Your picture implies this is the case. Also, your picture implies that the devices act as clients also. That is, they are required to initiate the connection with the server.