In case of a concurrent client - server connection, wherein every client is serviced by a child process, is there any method by which I can restrict the number of clients that a server can attend to??
Listen is not the solution, because listen command restricts the queue size for the socket.
My query is that even if the server is able to serve more clients, I want to restrict the connections to say 4.
Is such a thing possible???
If Yes, then what is the method?