Step1: In Main thread, we have to create new thread(Thread1) in which block on accept occurred in infinite while loop for handling Multiple Clients.
Step2: In new thread(Thread1) a another thread(Thread2) is created for processing the client request in the same while loop which is created in step 1.
Step3: In Thread2, Client request processed and give the result back to the requesting Client by the Multithreaded Server.
I have implemented a project this way but I am facing a some issue in project.When I send two different Clients in the background for multiple times then the Requesting Clients will get the result of another Client.I am using the pipes at Processing Clients side.