My program:
Different Clients connect to the Server (User login)
Then server starts to Push small data ( below 1KB ) to all of them every second (or less).
My questions:
- What service should I use? is WCF the right one?
- If WCF, then which protocol to use ? http, tcp ... ?
At first I thought WCF is the right thing to go with. I implemented a basic simple. Then suddenly I noticed this is only a Client to Server connection. and Server can't communicate the same way to client. Unless I start the service on client as well which makes it a server.
So in the end, I am asking how should I impelement this 2 way communication between server and client, considering the speed factor I mentioned and the right protocol to use.
UPDATE
Ok let me add some details. This is actually a Teacher client < > Server < > Students client communication program. Teacher draws something on a WPF's inkCanvas. and this drawing is supposed to be pushed to all students clients. That's why this data should be pushed by the server. and the communication has to be 2 way.