Sockets in Servlet
posted 15 years ago
Hi, I have a servlet that is designed to also handle requests from sockets. The servlets has a Vector for Socket clients and will process them accordingly. However, I think a ServerSocket needs to be running when the client Socket tries to connect to it. A servlet instance is not running in the server constantly, right? Can a Socket connection be handled in a servlet that has a ServerSocket?