I am working on Gateway Simulator which can simulate 1000 gateway.Gateway is connected with the data center and client app is connected with the data center.
Gateway
- Stream the video to data center for playing or recording
- Respond with status info about sensor connected with gateway
- Other status information of the gateway to data center.
Data center query the information from the client
Here gateway may at lenght having 1000 socket.I wanted to know the I/O.Gateway will run on both Windows and Linux developed using c++.Here i have restriction of not to use any third party library.
here how to manage so much connection in gateway. 1. receiving the request from data center which may be 1000 at max. 2. sending the response to data center.
I also need to I/O model required in windows and linux.