I need to create a C # program that will run on several of our local Windows client computers. These "client" programs will have to accept commands from the "admin" program executed on another machine. Commands may consist in rebooting client computers, returning some local information about the IP address, etc. Back to the admin program.
But how to do that? I know a little about WCF, but is this the right way? If I go with WCF, I will have to force the client programs to run the service method, like every second, to check for new commands. With sockets, I establish a βdirectβ connection, and the client just waits for a command to receive - is this not correctly understood?
Which way would be right for me?
We are talking about ~ 10 clients, and I want to get the maximum delay (send a command - get information back) in 1 second.
Any clues would also be appreciated.
Best wishes
source share