Any difference between socket connection and tcp connection?

后端 未结 4 1677
南方客
南方客 2021-01-31 10:59

Are these 2 concepts refer to the same thing? Do they have difference?

In my opinion, they are different, and socket connection is based on tcp connection. A socket cont

4条回答
  •  闹比i
    闹比i (楼主)
    2021-01-31 11:23

    Socket connection implies two peer connected with each other,Protocol can be TCP or UDP.So connection does not specify type of connection.it is generic term for connection.

    When you say TCP connection it implies two nodes are connected using TCP protocol.

提交回复
热议问题