{"id":5148,"date":"2023-11-16T10:20:04","date_gmt":"2023-11-16T02:20:04","guid":{"rendered":"https:\/\/white-night.club\/?p=5148"},"modified":"2023-11-16T11:25:11","modified_gmt":"2023-11-16T03:25:11","slug":"book2-10","status":"publish","type":"post","link":"https:\/\/white-night.club\/index.php\/2023\/11\/16\/book2-10\/","title":{"rendered":"10.\u300a\u8ba1\u7b97\u673a\u7f51\u7edc\u6559\u7a0b\uff1a\u81ea\u9876\u5411\u4e0b\u65b9\u6cd5\u300b(2012) \u4f5c\u8005\uff1aBehrouz A.Forouzan"},"content":{"rendered":"\n<pre class=\"wp-block-code has-foreground-color has-text-color has-background has-medium-font-size\" style=\"border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;border-bottom-style:none;border-bottom-width:0px;border-left-color:#04c8dc;border-left-width:5px;background-color:#c6faff\"><code>bloody hell.\u6211\u8bb0\u5f97\u4e0a\u4e0a\u4e2a\u6708\u770b\u4e86\u67d0\u7bc7\u535a\u5ba2\uff0c\u90a3\u7bc7\u535a\u5ba2\u628aC++\u51fd\u6570\uff0c\u6216\u8005GO\u5305\u91cc\u9762\u7684\u51fd\u6570\u53eb\u505aAPI\uff0c\u7136\u540e\u8bf4\u8c03\u7528\u8fd9\u4e9b\u51fd\u6570\u7684\u65f6\u5019\u53eb\u505a\u8c03API\u3002\u7136\u540e\u5c31\u4e00\u76f4\u88ab\u5e26\u504f\uff0c\u76f4\u81f3\u4eca\u65e5\u3002<\/code><\/pre>\n\n\n\n<p>\u4e00\u4e2a\u8ba1\u7b97\u673a\u7a0b\u5e8f\u901a\u5e38\u662f\u7531\u9884\u5b9a\u4e49\u4e86\u6307\u4ee4\u96c6\u7684\u8ba1\u7b97\u673a\u8bed\u8a00\u7f16\u5199\u7684\uff0c\u8fd9\u4e2a\u6307\u4ee4\u96c6\u544a\u8bc9\u8ba1\u7b97\u673a\u8981\u505a\u4ec0\u4e48\u3002\u8ba1\u7b97\u673a\u8bed\u8a00\u6709\u4e00\u4e2a\u6570\u5b66\u64cd\u4f5c\u6307\u4ee4\u96c6\u3001\u4e00\u4e2a\u5b57\u7b26\u4e32\u5904\u7406\u6307\u4ee4\u96c6\u3002\u4e00\u4e2a\u8f93\u5165\/\u8f93\u51fa\u8bbf\u95ee\u6307\u4ee4\u96c6\u7b49\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-foreground-color has-text-color has-background has-medium-font-size\" style=\"border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;border-bottom-style:none;border-bottom-width:0px;border-left-color:#04c8dc;border-left-width:5px;background-color:#c6faff\"><code>\u8fd9\u91cc\u53ea\u662f\u7b80\u5355\u4ecb\u7ecd\u4e86\u4e00\u4e0b\u6307\u4ee4\u96c6\u7684\u6982\u5ff5\u3002\u5e76\u4e0d\u662f\u8bf4\u8fd9\u4e9b\u6307\u4ee4\u96c6\u90fd\u662fAPI\u3002\u5173\u4e8e\u6307\u4ee4\u96c6\u7684\u8be6\u7ec6\u6982\u5ff5\u53ef\u4ee5\u4ece\u8ba1\u7ec4\u5165\u624b\u3002<\/code><\/pre>\n\n\n\n<p>\u5982\u679c\u6211\u4eec\u9700\u8981\u4e00\u4e2a\u8fdb\u7a0b\u4e0e\u53e6\u4e00\u4e2a\u8fdb\u7a0b\u901a\u4fe1\uff0c\u90a3\u4e48\u6211\u4eec\u5c31\u9700\u8981\u4e00\u4e2a\u65b0\u7684\u6307\u4ee4\u96c6\u544a\u77e5TCP\/IP\u534f\u8bae\u7c07\u7684\u4f4e\u56db\u5c42\u6253\u5f00\u8fde\u63a5\uff0c\u53d1\u9001\u6570\u636e\uff0c\u4ece\u53e6\u4e00\u4e2a\u7ec8\u7aef\u63a5\u6536\u6570\u636e\u4ee5\u53ca\u5173\u95ed\u8fde\u63a5\u3002\u8fd9\u6837\u7684\u6307\u4ee4\u96c6\u901a\u5e38\u79f0\u4e3a\u5e94\u7528\u7a0b\u5e8f\u63a5\u53e3\uff08Application Programming Interface\uff0cAPI\uff09\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-foreground-color has-text-color has-background has-medium-font-size\" style=\"border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;border-bottom-style:none;border-bottom-width:0px;border-left-color:#04c8dc;border-left-width:5px;background-color:#c6faff\"><code>\u8fd8\u662f\u5f88\u62bd\u8c61\uff0c\u6240\u4ee5\u6211\u53c8\u53bb\u8c37\u6b4c\u4e86\u4e0bwhat is api\u3002\n\u770b\u4e86\u4e2a\u6cb9\u7ba1\u89c6\u9891+wiki\u4e0a\u9762\u7684\u89e3\u91ca\u3002\u603b\u7ed3\u4e00\u4e0b\uff1a\n<em>An application programming interface (API) is a way for two or more computer programs to communicate with each other. It is a type of software interface, offering a service to other pieces of software.<\/em>\nAPI\u7b80\u5355\u6765\u8bf4\u5c31\u662f\u4e24\u4e2a\u7a0b\u5e8f\u4e4b\u95f4\u901a\u4fe1\u7684\u4e00\u79cd\u65b9\u5f0f\u3002A\u7a0b\u5e8f\u53ef\u4ee5\u901a\u8fc7\u63a5\u53e3\u5411B\u7a0b\u5e8f\u53d1\u9001\u6570\u636e\uff0cB\u7a0b\u5e8f\u4e5f\u53ef\u4ee5\u53cd\u8fc7\u6765\u5411A\u53d1\u9001\u6570\u636e\u3002API\u66f4\u591a\u7684\u662f\u8f6f\u4ef6\u5c42\u9762\u7684\u63a5\u53e3\uff0c\u4e3a\u5e94\u7528\u7a0b\u5e8f\u4e4b\u95f4\u7684\u901a\u4fe1\u548c\u4ea4\u6362\u6570\u636e\u63d0\u4f9b\u4e00\u4e2a\u901a\u9053\u3002\n\u603b\u7684\u6765\u8bf4\uff0c\u548c\u4e24\u4e2a\u5e94\u7528\u901a\u4fe1\u76f8\u5173\u7684\u6307\u4ee4\u96c6\u624d\u662fAPI\u3002<\/code><\/pre>\n\n\n\n<p>\u7535\u8111\u5236\u9020\u5546\u5c06\u534f\u8bae\u7c07\u7684\u524d\u56db\u5c42\u7f16\u5199\u8fdb\u64cd\u4f5c\u7cfb\u7edf\u5e76\u5305\u542b\u4e86API\u3002\u8fd9\u6837\uff0c\u5f53\u901a\u8fc7\u56e0\u7279\u7f51\u53d1\u9001\u548c\u63a5\u6536\u5206\u7ec4\u65f6\uff0c\u5e94\u7528\u5c42\u8fd0\u884c\u7684\u8fdb\u7a0b\u624d\u80fd\u591f\u4e0e\u64cd\u4f5c\u7cfb\u7edf\u901a\u4fe1\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-foreground-color has-text-color has-background has-medium-font-size\" style=\"border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;border-bottom-style:none;border-bottom-width:0px;border-left-color:#04c8dc;border-left-width:5px;background-color:#c6faff\"><code>\u4ed4\u7ec6\u60f3\u60f3\u81ea\u5df1\u786e\u5b9e\u6ca1\u601d\u8003\u8fc7\u8fd9\u4e2a\u95ee\u9898\u3002\u6bd4\u5982go\u7f51\u7edc\u7f16\u7a0b\u8fd9\u4e00\u5757\uff0chttp.ListenAndServe\u4e3a\u4ec0\u4e48\u80fd\u76d1\u542c\u5230\u7aef\u53e3\u5462\uff1f\u5b83\u7684\u539f\u7406\u662f\u4ec0\u4e48\uff1f\u8fd9\u4e2a\u51fd\u6570\u662f\u600e\u4e48\u8c03\u7528\u5230os\u4e2d\u7684API\u7684\uff1f\n\u5148\u8865\u5168\u64cd\u4f5c\u7cfb\u7edf\u7684\u76f8\u5173\u77e5\u8bc6\u518d\u56de\u6765\u770b\u8fd9\u4e2a\u95ee\u9898\u5427\uff0c\u73b0\u5728\u77e5\u8bc6\u5b66\u7684\u8fd8\u4e0d\u591f\u591a\uff0c\u53ea\u80fd\u5148\u7a7a\u5728\u8fd9\u91cc\u4e86\u3002<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>P28 \u5e94\u7528\u7a0b\u5e8f\u63a5\u53e3\uff08API\uff09<\/p>\n","protected":false},"author":1,"featured_media":4353,"comment_status":"open","ping_status":"","sticky":false,"template":"base","format":"standard","meta":{"footnotes":""},"categories":[113,107],"tags":[114,112],"_links":{"self":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts\/5148"}],"collection":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/comments?post=5148"}],"version-history":[{"count":0,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts\/5148\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/media\/4353"}],"wp:attachment":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/media?parent=5148"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/categories?post=5148"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/tags?post=5148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}