首页 > 其他 > 详细

A TCP connection is distinguished by four values

时间:2017-01-29 10:45:02      阅读:213      评论:0      收藏:0      [点我收藏+]

4个值唯一地定义一条TCP连接。

HTTP The Definitive Guide

A computer might have several TCP connections open at any one time. TCP keeps all these 

connections straight through port numbers.
Port numbers are like employees‘ phone extensions. Just as a company‘s main phone number gets you
to the front desk and the extension gets you to the right employee, the IP address gets you to the right
computer and the port number gets you to the right application. A TCP connection is distinguished by
four values:

<source-IP-address, source-port, destination-IP-address,
destination-port>

Together, these four values uniquely define a connection. 

 

A TCP connection is distinguished by four values

原文:http://www.cnblogs.com/yuanjiangw/p/6357309.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!