Overview
This is a combination of two programs, a server and a client. The server sits and waits on client connections. When it receives one, it tells a worker thread to handle the connection by echoing the message back to the client. The client is actually a hammer client. It spawns multiple threads which each make multiple requests to the server, simulating heavy usage.
Features
- Open Source.
- Tested under Windows, Solaris, Linux, and Irix.
- Demonstrates the Boss-Worker model with a thread queue.
License
Licensed under the GNU General Public License.
Learn more about GNU and free software at http://www.gnu.org/.
Download
echo-cs.zip (58 KB)