N
nopatch4humancruelty
Guest
Hi everyone!
I'm developing two windows service in C#:
The communication is Client -> Server (through SSH, thanks to Renci.SSH)but no Server -> Client. So, the Server does not send some feedback to Client during the service's lives.
But now I must satisfy another requirement: every Client have a config file which can be modified. The Server "need to know if a Client has the default config file or a modified config file" (so the Server need to know if a Client is updated or not).
The problem is: how can Server ask to a Client if it has the default config file or not?
I don't want to instantiate N SSH connections (which N is the number of Client) between Server and Client in order to evaluate if a Client is updated or not, because I think that this is too "expensive".
Infact, I have the SSH connections between the N Client and Server but I know that SSH is not full duplex communication.
How I can do that?
Can you suggest me an architecture of this requirement + some solutions to satisfy it?
Thank you, have a good day.
Continue reading...
I'm developing two windows service in C#:
- A windows service which is running with "Server role"
- A windows service which is running with "Client role" on many machines
The communication is Client -> Server (through SSH, thanks to Renci.SSH)but no Server -> Client. So, the Server does not send some feedback to Client during the service's lives.
But now I must satisfy another requirement: every Client have a config file which can be modified. The Server "need to know if a Client has the default config file or a modified config file" (so the Server need to know if a Client is updated or not).
The problem is: how can Server ask to a Client if it has the default config file or not?
I don't want to instantiate N SSH connections (which N is the number of Client) between Server and Client in order to evaluate if a Client is updated or not, because I think that this is too "expensive".
Infact, I have the SSH connections between the N Client and Server but I know that SSH is not full duplex communication.
How I can do that?
Can you suggest me an architecture of this requirement + some solutions to satisfy it?
Thank you, have a good day.
Continue reading...