端口号的存在原因

720阅读 0评论2012-07-02 himrpei
分类:LINUX

Also,if two Netscape windows are both accessing different parts of the same web site, how does the Linux box running Netscape sort out the TCP packets coming back from the web server?
This is where the "source port" comes in: every new TCP connection gets a different source port, os everyone can tell them apart, even if they are going to the same destination IP address and the same destination port. Usually the first source port given will be 1024, and will increase over time.

"/etc/services"
上一篇:DNS在传输层用的是UDP协议
下一篇:ICMP协议