In Lab Assignment 3

Implementation of a Concurrent Server Using fork()

In this assignment you will write a concurrent TCP server using fork(). The server code should be able to run for different number of clients. Each client sends repeated messages to the server and the server replies with the same message. Client messages should be user input in run time. When a client sends an exit (“EXIT”) message to the server, the server releases the connection.

 

 Hints:

     Below are some links that might be useful for those who would like to refresh their Operating Systems knowledge on the usage of fork():