servlet for implementing socket connection

前端 未结 3 1387
失恋的感觉
失恋的感觉 2020-12-19 18:25

How do I implement a web application with a Servlet that is listening on a port for socket connections?

3条回答
  •  不思量自难忘°
    2020-12-19 19:01

    Not totally sure what you want to achieve, but you can have a look at client/server programming if that's what you need. Other than that, you could implement your web application as normal but change the default port to whatever suits your need.

提交回复
热议问题