Linux Services: Restricting connections

   

Hi Experts,

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?

Thanks,
expertblr.
expertblrAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
pablouruguayCommented:
which service?  apache? ssh? ........
0
 
expertblrAuthor Commented:
ssh.

Is there differents methods  to restricting connections to different services?

0
All Courses

From novice to tech pro — start learning today.