What is the difference between Socket and ServerSocket?

前端 未结 9 1330
遇见更好的自我
遇见更好的自我 2021-02-01 02:10

If Socket represents client side and ServerSocket represents server side, why Socket.read reads the data from server side? I\'m really con

9条回答
  •  时光说笑
    2021-02-01 02:41

    ServerSocket is again a Socket with additional features of server endpoint. The server features includes listening to the port and accepting an incoming connection etc...

提交回复
热议问题