{"id":121658,"date":"2018-10-06T08:10:46","date_gmt":"2018-10-06T00:10:46","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=121658"},"modified":"2018-09-28T09:18:21","modified_gmt":"2018-09-28T01:18:21","slug":"tcp-ip-concept","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/tcp-ip-concept.html","title":{"rendered":"tcp\/ip\u5b66\u4e60\u7b14\u8bb0\uff081\uff09-\u57fa\u672c\u6982\u5ff5"},"content":{"rendered":"

\"\"<\/p>\n

\u4e3a\u4ec0\u4e48\u4f1a\u6709tcp\/ip<\/strong><\/div>\n
\u5728\u4e16\u754c\u4e0a\u5404\u5730\uff0c\u5404\u79cd\u5404\u6837\u7684\u7535\u8111\u8fd0\u884c\u7740\u5404\u81ea\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e3a\u5927\u5bb6\u670d\u52a1\uff0c\u8fd9\u4e9b\u7535\u8111\u5728\u8868\u8fbe\u540c\u4e00\u79cd\u4fe1\u606f\u7684\u65f6\u5019\u6240\u4f7f\u7528\u7684\u65b9\u6cd5\u662f\u5343\u5dee\u4e07\u522b\u3002\u5c31\u597d\u50cf\u5723\u7ecf\u4e2d\u4e0a\u5e1d\u6253\u4e71\u4e86\u5404\u5730\u4eba\u7684\u53e3\u97f3\uff0c\u8ba9\u4ed6\u4eec\u65e0\u6cd5\u5408\u4f5c\u4e00\u6837\u3002\u8ba1\u7b97\u673a\u4f7f\u7528\u8005\u610f\u8bc6\u5230\uff0c\u8ba1\u7b97\u673a\u53ea\u662f\u5355\u5175\u4f5c\u6218\u5e76\u4e0d\u4f1a\u53d1\u6325\u592a\u5927\u7684\u4f5c\u7528\u3002\u53ea\u6709\u628a\u5b83\u4eec\u8054\u5408\u8d77\u6765\uff0c\u7535\u8111\u624d\u4f1a\u53d1\u6325\u51fa\u5b83\u6700\u5927\u7684\u6f5c\u529b\u3002\u4e8e\u662f\u4eba\u4eec\u5c31\u60f3\u65b9\u8bbe\u6cd5\u7684\u7528\u7535\u7ebf\u628a\u7535\u8111\u8fde\u63a5\u5230\u4e86\u4e00\u8d77\u3002<\/div>\n
\u4f46\u662f\u7b80\u5355\u7684\u8fde\u5230\u4e00\u8d77\u662f\u8fdc\u8fdc\u4e0d\u591f\u7684\uff0c\u5c31\u597d\u50cf\u8bed\u8a00\u4e0d\u540c\u7684\u4e24\u4e2a\u4eba\u4e92\u76f8\u89c1\u4e86\u9762\uff0c\u5b8c\u5168\u4e0d\u80fd\u4ea4\u6d41\u4fe1\u606f\u3002\u56e0\u800c\u4ed6\u4eec\u9700\u8981\u5b9a\u4e49\u4e00\u4e9b\u5171\u901a\u7684\u4e1c\u897f\u6765\u8fdb\u884c\u4ea4\u6d41\uff0cTCP\/IP\u5c31\u662f\u4e3a\u6b64\u800c\u751f\u3002TCP\/IP\u4e0d\u662f\u4e00\u4e2a\u534f\u8bae\uff0c\u800c\u662f\u4e00\u4e2a\u534f\u8bae\u65cf\u7684\u7edf\u79f0\u3002\u91cc\u9762\u5305\u62ec\u4e86IP\u534f\u8bae\uff0cIMCP\u534f\u8bae\uff0cTCP\u534f\u8bae\uff0c\u4ee5\u53ca\u6211\u4eec\u66f4\u52a0\u719f\u6089\u7684http\u3001ftp\u3001pop3\u534f\u8bae\u7b49\u7b49\u3002\u7535\u8111\u6709\u4e86\u8fd9\u4e9b\uff0c\u5c31\u597d\u50cf\u5b66\u4f1a\u4e86\u5916\u8bed\u4e00\u6837\uff0c\u5c31\u53ef\u4ee5\u548c\u5176\u4ed6\u7684\u8ba1\u7b97\u673a\u7ec8\u7aef\u505a\u81ea\u7531\u7684\u4ea4\u6d41\u4e86\u3002<\/div>\n
tcp\/ip\u534f\u8bae\u5206\u5c42<\/strong><\/div>\n
\u63d0\u5230\u534f\u8bae\u5206\u5c42\uff0c\u6211\u4eec\u5f88\u5bb9\u6613\u8054\u60f3\u5230ISO-OSI\u7684\u4e03\u5c42\u534f\u8bae\u7ecf\u5178\u67b6\u6784\uff0c\u4f46\u662fTCP\/IP\u534f\u8bae\u65cf\u7684\u7ed3\u6784\u5219\u7a0d\u6709\u4e0d\u540c\u3002\u5982\u56fe\u6240\u793a<\/div>\n
\"\"<\/div>\n
TCP\/IP\u534f\u8bae\u65cf\u6309\u7167\u5c42\u6b21\u7531\u4e0a\u5230\u4e0b\uff0c\u5c42\u5c42\u5305\u88c5\u3002\u6700\u4e0a\u9762\u7684\u5c31\u662f\u5e94\u7528\u5c42\u4e86\uff0c\u8fd9\u91cc\u9762\u6709http\uff0cftp,\u7b49\u7b49\u6211\u4eec\u719f\u6089\u7684\u534f\u8bae\u3002\u800c\u7b2c\u4e8c\u5c42\u5219\u662f\u4f20\u8f93\u5c42\uff0c\u8457\u540d\u7684TCP\u548cUDP\u534f\u8bae\u5c31\u5728\u8fd9\u4e2a\u5c42\u6b21\uff08\u4e0d\u8981\u544a\u8bc9\u6211\u4f60\u6ca1\u7528\u8fc7udp\u73a9\u661f\u9645\uff09\u3002\u7b2c\u4e09\u5c42\u662f\u7f51\u7edc\u5c42\uff0cIP\u534f\u8bae\u5c31\u5728\u8fd9\u91cc\uff0c\u5b83\u8d1f\u8d23\u5bf9\u6570\u636e\u52a0\u4e0aIP\u5730\u5740\u548c\u5176\u4ed6\u7684\u6570\u636e\uff08\u540e\u9762\u4f1a\u8bb2\u5230\uff09\u4ee5\u786e\u5b9a\u4f20\u8f93\u7684\u76ee\u6807\u3002\u7b2c\u56db\u5c42\u662f\u53eb\u6570\u636e\u94fe\u8def\u5c42\uff0c\u8fd9\u4e2a\u5c42\u6b21\u4e3a\u5f85\u4f20\u9001\u7684\u6570\u636e\u52a0\u5165\u4e00\u4e2a\u4ee5\u592a\u7f51\u534f\u8bae\u5934\uff0c\u5e76\u8fdb\u884cCRC\u7f16\u7801\uff0c\u4e3a\u6700\u540e\u7684\u6570\u636e\u4f20\u8f93\u505a\u51c6\u5907\u3002\u518d\u5f80\u4e0b\u5219\u662f\u786c\u4ef6\u5c42\u6b21\u4e86\uff0c\u8d1f\u8d23\u7f51\u7edc\u7684\u4f20\u8f93\uff0c\u8fd9\u4e2a\u5c42\u6b21\u7684\u5b9a\u4e49\u5305\u62ec\u7f51\u7ebf\u7684\u5236\u5f0f\uff0c\u7f51\u5361\u7684\u5b9a\u4e49\u7b49\u7b49\uff08\u8fd9\u4e9b\u6211\u4eec\u5c31\u4e0d\u7528\u5173\u5fc3\u4e86\uff0c\u6211\u4eec\u4e5f\u4e0d\u505a\u7f51\u5361\uff09\uff0c\u6240\u4ee5\u6709\u4e9b\u4e66\u5e76\u4e0d\u628a\u8fd9\u4e2a\u5c42\u6b21\u653e\u5728tcp\/ip\u534f\u8bae\u65cf\u91cc\u9762\uff0c\u56e0\u4e3a\u5b83\u51e0\u4e4e\u548ctcp\/ip\u534f\u8bae\u7684\u7f16\u5199\u8005\u6ca1\u6709\u4efb\u4f55\u7684\u5173\u7cfb\u3002\u53d1\u9001\u534f\u8bae\u7684\u4e3b\u673a\u4ece\u4e0a\u81ea\u4e0b\u5c06\u6570\u636e\u6309\u7167\u534f\u8bae\u5c01\u88c5\uff0c\u800c\u63a5\u6536\u6570\u636e\u7684\u4e3b\u673a\u5219\u6309\u7167\u534f\u8bae\u4ece\u5f97\u5230\u7684\u6570\u636e\u5305\u89e3\u5f00\uff0c\u6700\u540e\u62ff\u5230\u9700\u8981\u7684\u6570\u636e\u3002\u8fd9\u79cd\u7ed3\u6784\u975e\u5e38\u6709\u6808\u7684\u5473\u9053\uff0c\u6240\u4ee5\u67d0\u4e9b\u6587\u7ae0\u4e5f\u628atcp\/ip\u534f\u8bae\u65cf\u79f0\u4e3atcp\/ip\u534f\u8bae\u6808\u3002<\/div>\n
ip\u5730\u5740<\/strong><\/div>\n
\u7f51\u7edc\u4e0a\u6bcf\u4e00\u4e2a\u8282\u70b9\u90fd\u5fc5\u987b\u6709\u4e00\u4e2a\u72ec\u7acb\u7684Internet\u5730\u5740\uff08\u4e5f\u53eb\u505aIP\u5730\u5740\uff09\u3002\u73b0\u5728\uff0c\u901a\u5e38\u4f7f\u7528\u7684IP\u5730\u5740\u662f\u4e00\u4e2a32bit\u7684\u6570\u5b57\uff0c\u4e5f\u5c31\u662f\u6211\u4eec\u5e38\u8bf4\u7684IPv4\u6807\u51c6\uff0c\u8fd932bit\u7684\u6570\u5b57\u5206\u6210\u56db\u7ec4\uff0c\u4e5f\u5c31\u662f\u5e38\u89c1\u7684255.255.255.255\u7684\u6837\u5f0f\u3002IPv4\u6807\u51c6\u4e0a\uff0c\u5730\u5740\u88ab\u5206\u4e3a\u4e94\u7c7b\uff0c\u6211\u4eec\u5e38\u7528\u7684\u662fB\u7c7b\u5730\u5740\u3002\u5177\u4f53\u7684\u5206\u7c7b\u8bf7\u53c2\u8003\u5176\u4ed6\u6587\u6863\u3002\u9700\u8981\u6ce8\u610f\u7684\u662fIP\u5730\u5740\u662f\u7f51\u7edc\u53f7+\u4e3b\u673a\u53f7\u7684\u7ec4\u5408\uff0c\u8fd9\u975e\u5e38\u91cd\u8981\u3002<\/div>\n
\u57df\u540d\u7cfb\u7edf<\/strong><\/div>\n
\u57df\u540d\u7cfb\u7edf\u662f\u4e00\u4e2a\u5206\u5e03\u7684\u6570\u636e\u5e93\uff0c\u5b83\u63d0\u4f9b\u5c06\u4e3b\u673a\u540d\uff08\u5c31\u662f\u7f51\u5740\u5566\uff09\u8f6c\u6362\u6210IP\u5730\u5740\u7684\u670d\u52a1\u3002<\/div>\n
RFC<\/strong><\/div>\n
RFC\u662f\u4ec0\u4e48\uff1fRFC\u5c31\u662ftcp\/ip\u534f\u8bae\u7684\u6807\u51c6\u6587\u6863\uff0c\u5728\u8fd9\u91cc<\/a>\u6211\u4eec\u53ef\u4ee5\u770b\u5230RFC\u90a3\u957f\u957f\u7684\u5b9a\u4e49\u5217\u8868\uff0c\u73b0\u5728\u5b83\u4e00\u5171\u67094000\u591a\u4e2a\u534f\u8bae\u7684\u5b9a\u4e49\uff0c\u5f53\u7136\uff0c\u6211\u4eec\u6240\u8981\u5b66\u4e60\u7684\uff0c\u4e5f\u5c31\u662f\u90a3\u4e48\u5341\u51e0\u4e2a\u534f\u8bae\u800c\u5df2\u3002<\/div>\n
\u7aef\u53e3\u53f7<\/strong><\/div>\n
\u6ce8\u610f\uff0c\u8fd9\u4e2a\u53f7\u7801\u662f\u7528\u5728TCP\uff0cUDP\u4e0a\u7684\u4e00\u4e2a\u903b\u8f91\u53f7\u7801\uff0c\u5e76\u4e0d\u662f\u4e00\u4e2a\u786c\u4ef6\u7aef\u53e3\uff0c\u6211\u4eec\u5e73\u65f6\u8bf4\u628a\u67d0\u67d0\u7aef\u53e3\u5c01\u6389\u4e86\uff0c\u4e5f\u53ea\u662f\u5728IP\u5c42\u6b21\u628a\u5e26\u6709\u8fd9\u4e2a\u53f7\u7801\u7684IP\u5305\u7ed9\u8fc7\u6ee4\u6389\u4e86\u800c\u5df2\u3002<\/div>\n
\u5e94\u7528\u7f16\u7a0b\u63a5\u53e3<\/strong><\/div>\n
\u73b0\u5728\u5e38\u7528\u7684\u7f16\u7a0b\u63a5\u53e3\u6709socket\u548cTLI\u3002\u800c\u524d\u9762\u7684\u6709\u65f6\u5019\u4e5f\u53eb\u505a\u201cBerkeley socket\u201d\uff0c\u53ef\u89c1Berkeley\u5bf9\u4e8e\u7f51\u7edc\u7684\u53d1\u5c55\u6709\u591a\u5927\u7684\u8d21\u732e\u3002<\/div>\n
\n

\u539f\u6587\u6765\u81ea\uff1ahttp:\/\/www.cnblogs.com\/fengzanfeng\/articles\/1339347.html<\/a><\/p>\n

\u672c\u6587\u5730\u5740\uff1ahttps:\/\/lrxjmw.cn\/tcp-ip-concept.html<\/a>\u7f16\u8f91\uff1a\u5c39\u6167\u6167\uff0c\u5ba1\u6838\u5458\uff1a\u9004\u589e\u5b9d<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

\u4e3a\u4ec0\u4e48\u4f1a\u6709tcp\/ip \u5728\u4e16\u754c\u4e0a\u5404\u5730\uff0c\u5404\u79cd\u5404\u6837\u7684\u7535\u8111\u8fd0\u884c\u7740\u5404\u81ea\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e3a\u5927\u5bb6\u670d\u52a1\uff0c\u8fd9\u4e9b\u7535\u8111\u5728\u8868\u8fbe\u540c\u4e00\u79cd\u4fe1 […]<\/p>\n","protected":false},"author":63,"featured_media":121749,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-121658","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/121658","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=121658"}],"version-history":[{"count":7,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/121658\/revisions"}],"predecessor-version":[{"id":121991,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/121658\/revisions\/121991"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/121749"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=121658"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=121658"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=121658"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}