Introduction - If you have any usage issues, please Google them yourself
Setting this work: a master server, and implement the interface connection to it customers. Communication protocol - either streaming protocol based on TCP / IP (note - HTTP is not a streaming protocol).
The server and client can be implemented in any programming language. The server must submit an application (for example a console) that implements the following functionality:
1. When a client connects to send him to an arbitrary number and display that number on the console
2. Upon receipt of a response the client to display the client s response to the console.
3. When a client disconnects display a message about this to the console.
4. Periodically (every x seconds) to send an arbitrary number of active clients
The client must implement the following:
1. Upon receipt of the server to bring it to the console, wait for 5 seconds and answer the same number increased by 1. So a dialogue between the client and the server will look as follows: