I have to create a socket server which will listen to multiple client. Suppose there are 6 clients connected to the server at the same time and each of the clients are sending s
Any reason you can't use a servlet container to do this? This is 10 lines of code in a Servlet + Tomcat/Jetty.