TCP/IP Ѱַ

TCP/IP ʹ 32 ػ 4 0 255 ֮Ϊַ

IPַ

ÿһ IP ַܹ

ÿ IP һַܹ͵һ̨

ڱ̳һڣѧϰ IP ַ IP Ƶ֪ʶ

IP ַ 4 ֣

IP ַ182.37.141.161

TCP/IP ʹ 4 ΪַÿһΨһ 4 ֵĵַ

0 255 ֮䣬ɵŸ192.168.1.60

TCP ʹù̶

TCP Ӧó֮ͨš

Ӧóϣͨ TCP һӦóͨʱᷢһͨ뱻͵һȷеĵַ˫֮֡TCP Ӧó֮佨һȫ˫ (full-duplex) ͨš

ȫ˫ͨŽռ֮ͨ·ֱһ˫رΪֹ

UDP TCP ƣǸ򵥣ͬʱɿԵ TCP

32 = 4 ֽ

TCP/IP ʹ 32 ַһֽ 8 ء TCP/IP ʹ 4 ֽڡ

һֽڿ԰ 256 ֵͬ

000000000000000100000010000000110000010000000101000001100000011100001000 ....... ֱ 11111111

ڣ֪Ϊʲô TCP/IP ַǽ 0 255 ֮ 4 ֡

12 ֺѼ䡣ʹһƸס

TCP/IP ֱַΪphpStudy.net һ

һ http://www.phpStudy.net ᱻһ DNS Ϊ֡

ȫ磬Ӵ DNS DNS Ϊ TCP/IP ַͬʱʹµϢ±˴˵ϵͳ

һµͬ TCP/IP ַһͬעȫ DNS ԴϢи¡