• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sockets in Servlet

 
Cameron Park
Ranch Hand
Posts: 371
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic