Hello everyone, I am developing a system which include a server app & a client app, note: the number of clients can be to million. These are my requirements:
- Client must authenticate (username & password) to server to be accepted connection. And client will listen to server, and receive any data which sent from server.
- When server has data, server will send to all connected clients.
Please help me some solution. Note: client is a WinForm application, and server is any kind of application which it can send data to all connected clients.
P/S: At the moment, my project use .NET Remoting but it is not suitable with my requirements because server can not send data to clients. I make a trick: Each client will send request to server each 2 seconds once to check that server has new data or no. If yes, client will receive data. I need a new solution to replace.
Thanks.