Execute Client Function from Server?

THe server sending is tricky unless you control the environment. NAT for example makes "client sends" a nightmare. You also then open up the client for additional attacks with client polling the clietn firewall does not have tp open external access to the agent.

Client has Agent. Agent connects to server, polls for cmomands Agend executes comands. THe server sending is tricky unless you control the environment.

NAT for example makes "client sends" a nightmare. You also then open up the client for additional attacks with client polling the clietn firewall does not have tp open external access to the agent.

So something like this (daniweb. Com/software-development/csharp/code/232473) is what I should look into? Server Push was what I had in mind, but I should basically have the clients continuously check the server for any new tasks?

– Brett Powell Mar 8 at 13:16 That example is using . NET remoting, not WCF. – RQDQ Mar 8 at 13:20 The question is how fast do you NEED to be.

A Check of an agent every 15 seconds may be enough, maybe even every 300 seconds. You do not transport real time financial data to trading systems here. – TomTom Mar 8 at 13:40.

It is possible. Use the callback functions along with duplexes in the WCF. You will be limited to the intranet usage or azure though, since only NetTcpBinding and NetTcpRelayBinding support it (WsHttpBinding is deprecated).

NetTcpBinding is totally ok to be used on the internet, you know. – TomTom Mar 8 at 13:40 @TomTom: Yes, I know. You may use it over the internet, but since it uses binary encoding over the TCP, there is a high risk the communication would be blocked by the firewall (either on unknown port or packet contents), thus not making it totally ok.

The other thing is that I can't imagine myself using of duplexes and callbacks over the internet. – Catfisherman Mar 23 at 9:47.

With WCF, any client can self-host a WCF service. This can make the client be a service. Add a little extra protocol between the client and the service, and you've got your wish.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions