Hello all,
I am pondering about the flow of communication.
My recent program (a Win32) and the data sit somewhere in a LAN, lets say on machine X.
On the machines A, B and C there is a desktop LNK to start a local instance.
There are other programs form other vendors which also run on A, B and C.
The plan is now to send a XML-request from that foreign program to mine, When that received request is parsed, my EXE will display a window with some results. It is not intended to send anything back (at least not now).
The request from the foreign program on machine C should affect only the instance of my program on C. On machine A nd B some other persons are working, they are not meant with the response from my program. The same is, when A does a request, only A gets the result, B and C remain silent in that case.
My idea is to make my program a server, listening on port 8888 or whatever.
The means, there are 3 servers running onthat LAN, each one listening to 8888.
The foreign program on machine C sends its request now to 127.0.0.1:8888 and only the instance of my EXE on machine C will respond, as it never left this station.
Its that the way to go?
The alternative would be one server on machine X. But getting the local instance on C to display the result without affecting A and B. Its not my clients starting the communication chain, so it would be diffucult (but not impossible) to invoke their reaction. I would then send heartbeats back and forth during the time-out period to keep the connection alive. But thats not desirable because not really stable, even on a LAN.
Last question: would this first scenario also work when the programs are installed / running on CITRIX terminal-Server?
Thanks for any input,
Wolfgang