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?

Improve company productivity with a Business Account.Sign Up

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

Is there differents methods  to restricting connections to different services?

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.