{"id":340342,"date":"2021-02-09T00:04:45","date_gmt":"2021-02-08T16:04:45","guid":{"rendered":"http:\/\/4563.org\/?p=340342"},"modified":"2021-02-09T00:04:45","modified_gmt":"2021-02-08T16:04:45","slug":"%e5%bc%80%e5%8f%91%e5%88%a9%e5%99%a8-c-%e8%af%ad%e8%a8%80%e5%bf%85%e5%a4%87%e5%ae%9e%e7%94%a8%e7%ac%ac%e4%b8%89%e6%96%b9%e5%ba%93","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=340342","title":{"rendered":"\u5f00\u53d1\u5229\u5668\u2014\u2014C \u8bed\u8a00\u5fc5\u5907\u5b9e\u7528\u7b2c\u4e09\u65b9\u5e93"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5f00\u53d1\u5229\u5668\u2014\u2014C \u8bed\u8a00\u5fc5\u5907\u5b9e\u7528\u7b2c\u4e09\u65b9\u5e93               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : monkeyNik <\/span>  <span><i><\/i> 3<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<blockquote>\n<p>\u672c\u6587\u8f6c\u8f7d\u81ea\u672c\u4eba\u5934\u6761\u53f7\uff1a https:\/\/www.toutiao.com\/i6926789516594479624\/<\/p>\n<p>\u8f6c\u8f7d\u8bf7\u6ce8\u660e\u51fa\u5904\uff0c\u611f\u8c22\uff01<\/p>\n<\/blockquote>\n<p>\u5bf9\u4e8e\u5e7f\u5927 C \u8bed\u8a00\u5f00\u53d1\u8005\u6765\u8bf4\uff0c\u7f3a\u4e4f\u7c7b\u4f3c C++ STL \u548c Boost \u7684\u5e93\u4f1a\u8ba9\u5f00\u53d1\u53d7\u5236\u4e8e\u57fa\u7840\u5e93\u7684\u532e\u4e4f\uff0c\u4e5f\u56e0\u6b64\u5bfc\u81f4\u4e86\u5f00\u53d1\u6548\u7387\u7684\u9aa4\u964d\u3002\u8fd9\u4e5f\u4f7f\u5f97\u4f8b\u5982 libevent \u8fd9\u7c7b\u4e8b\u4ef6\u5e93\uff08\u57fa\u7840\u7ec4\u4ef6\u5e93\uff09\u4e00\u65f6\u95f4\u5927\u7ea2\u5927\u7d2b\u3002<\/p>\n<p>\u4eca\u5929\uff0c\u7b14\u8005\u7ed9\u5927\u5bb6\u5e26\u6765\u4e00\u6b3e\u57fa\u7840\u5e93\uff0c\u8fd9\u5957\u5e93\u4e0d\u4ec5\u4ec5\u63d0\u4f9b\u4e86\u5e38\u7528\u7684\u6570\u636e\u7ed3\u6784\u3001\u7b97\u6cd5\uff0c\u5982\u7ea2\u9ed1\u6811\u3001\u6590\u6ce2\u90a3\u5951\u5806\u3001\u961f\u5217\u3001KMP \u7b97\u6cd5\u3001RSA \u7b97\u6cd5\u3001\u5404\u7c7b\u54c8\u5e0c\u7b97\u6cd5\u3001\u6570\u636e\u6062\u590d\u7b97\u6cd5\u7b49\u7b49\uff0c\u8fd8\u63d0\u4f9b\u4e86\u591a\u8fdb\u7a0b\u6846\u67b6\u3001\u591a\u7ebf\u7a0b\u6846\u67b6\u3001\u8de8\u5e73\u53f0\u9ad8\u6027\u80fd\u4e8b\u4ef6\u7b49\u5b9e\u7528\u5185\u5bb9\u3002<strong>\u6ce8\u610f<\/strong>\uff1a\u8fd9\u662f\u4e00\u6b3e\u4e0d\u4f9d\u8d56\u7b2c\u4e09\u65b9\u7684\u5e93\u3002<\/p>\n<p>\u9664\u6b64\u4ee5\u5916\uff0c\u5b83\u4e5f\u662f\u7b14\u8005\u4e4b\u524d\u6587\u7ae0\uff08Melang \u811a\u672c\u8bed\u8a00\uff09\u4e2d\u7684\u6838\u5fc3\u5e93\u3002\u8fd9\u4e5f\u5c31\u610f\u5473\u7740\uff0c\u4f7f\u7528\u8be5\u5e93\uff0c\u4e0d\u4ec5\u53ef\u4ee5\u5feb\u901f\u83b7\u5f97\u4e0a\u8ff0\u5185\u5bb9\uff0c\u8fd8\u53ef\u4ee5\u8ba9\u5f00\u53d1\u8005\u6240\u6784\u5efa\u7684\u7cfb\u7edf\u5f88\u65b9\u4fbf\u5730\u5f15\u5165\u811a\u672c\u8bed\u8a00\u7684\u529f\u80fd\u3002<\/p>\n<p>\u5b83\u5c31\u662f\u2014\u2014<strong>Melon<\/strong><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2021\/02\/20210218_602ea097ba563.png\" alt=\"\u5f00\u53d1\u5229\u5668\u2014\u2014C \u8bed\u8a00\u5fc5\u5907\u5b9e\u7528\u7b2c\u4e09\u65b9\u5e93\" \/><\/p>\n<p>Github\uff1a https:\/\/github.com\/Water-Melon\/Melon \u3002<\/p>\n<p>\u4e0b\u9762\uff0c\u7b14\u8005\u4fbf\u5e26\u8bf8\u4f4d\u4e00\u89c8\u8fd9\u4e2a\u5e93\u7684\u529f\u80fd\u3002<\/p>\n<h1>\u6570\u636e\u7ed3\u6784<\/h1>\n<p> <\/p>\n<p>Melon \u4e2d\u5305\u542b\u5982\u4e0b\u6570\u636e\u7ed3\u6784\u7684\u5b9e\u73b0\uff1a<\/p>\n<ul>\n<li>\u53cc\u5411\u94fe\u8868<\/li>\n<li>\u6590\u6ce2\u90a3\u5951\u5806<\/li>\n<li>\u54c8\u5e0c\u8868<\/li>\n<li>\u961f\u5217<\/li>\n<li>\u7ea2\u9ed1\u6811<\/li>\n<li>\u6808<\/li>\n<\/ul>\n<p>\u5176\u4e2d\uff1a<\/p>\n<ul>\n<li>\u53cc\u5411\u94fe\u8868\u4f7f\u7528\u5b8f\u5b9e\u73b0\uff0c\u53ef\u4ee5\u901a\u8fc7\u4e24\u884c\u5b8f\u51fd\u6570\u5373\u53ef\u5b8c\u6210\u53cc\u5411\u961f\u5217\u63d2\u5165\u548c\u5220\u9664\u64cd\u4f5c\u7684\u58f0\u660e\u548c\u5b9a\u4e49\u3002<\/li>\n<li>\u6590\u6ce2\u90a3\u5951\u5806\u662f\u4e00\u4e2a\u6700\u5c0f\u5806\uff0c\u5728\u5e93\u4e2d\u7684\u4e8b\u4ef6\u529f\u80fd\u4e2d\u7528\u4e8e\u5b9e\u73b0\u5b9a\u65f6\u5668\u7684\u7ef4\u62a4\u7ba1\u7406\uff0c\u5f53\u7136\uff0c\u4e5f\u53ef\u4ee5\u5355\u72ec\u4f7f\u7528\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u7ed3\u6784\u51e0\u4e4e\u5747\u53ef\u5728\u5176\u5bf9\u5e94\u540d\u79f0\u7684\u5934\u6587\u4ef6\u4e2d\u627e\u5230\u6570\u636e\u7ed3\u6784\u5b9a\u4e49\u4ee5\u53ca\u51fd\u6570\u5b9a\u4e49\u3002<\/p>\n<p>\u4e00\u822c\u60c5\u51b5\u4e0b\uff0c\u6570\u636e\u7ed3\u6784\u7684\u4f7f\u7528\u90fd\u662f\u51fd\u6570\u8c03\u7528\u5f62\u5f0f\uff0c\u56e0\u6b64\u4e5f\u5c3d\u53ef\u80fd\u964d\u4f4e\u4e86\u4e0d\u540c\u7ec4\u4ef6\u95f4\u7684\u8026\u5408\u5ea6\u3002<\/p>\n<h1>\u7b97\u6cd5<\/h1>\n<p> <\/p>\n<p>Melon \u4e2d\u5305\u542b\u7684\u7b97\u6cd5\u5982\u4e0b\uff1a<\/p>\n<ul>\n<li>\u52a0\u5bc6\u7b97\u6cd5\uff1aAES \u3001DES \u30013DES \u3001RC4 \u3001RSA<\/li>\n<li>\u54c8\u5e0c\u7b97\u6cd5\uff1aMD5 \u3001SHA1 \u3001SHA256<\/li>\n<li>Base64<\/li>\n<li>\u5927\u6570\u8ba1\u7b97<\/li>\n<li>FEC<\/li>\n<li>JSON<\/li>\n<li>\u77e9\u9635\u8fd0\u7b97<\/li>\n<li>\u91cc\u5fb7\u6240\u7f57\u95e8\u7f16\u7801<\/li>\n<li>\u6b63\u5219\u5339\u914d\u7b97\u6cd5<\/li>\n<li>KMP<\/li>\n<\/ul>\n<p>\u5982\u4e0a\u7b97\u6cd5\u57fa\u672c\u90fd\u5728\u5176\u5404\u81ea\u5934\u6587\u4ef6\u4e2d\u53ef\u4ee5\u627e\u5230\u5bf9\u5e94\u7684\u51fd\u6570\u58f0\u660e\u4ee5\u53ca\u5fc5\u8981\u7684\u6570\u636e\u7ed3\u6784\u5b9a\u4e49\u3002<\/p>\n<p>\u5176\u4e2d\uff0cFEC \u4e0e\u91cc\u5fb7\u6240\u7f57\u95e8\u7f16\u7801\u5747\u5c5e\u4e8e\u7ea0\u9519\u7801\uff0cFEC \u5e38\u7528\u4e8e RTP \u4e2d\u505a\u6570\u636e\u4fee\u590d\uff0c\u800c\u91cc\u5fb7\u6240\u7f57\u95e8\u7f16\u7801\u65e2\u53ef\u4ee5\u7528\u4e8e\u5b9e\u65f6\u8bed\u97f3\u4e2d\u4e22\u5305\u6062\u590d\uff0c\u4e5f\u53ef\u4ee5\u7528\u4e8e\u5197\u4f59\u9635\u5217\uff08 RAID \uff09\u548c\u5176\u4ed6 UDP \u4e22\u5305\u6062\u590d\u7684\u573a\u666f\u3002\u5173\u4e8e\u91cc\u5fb7\u6240\u7f57\u95e8\u7f16\u7801\uff0c\u611f\u5174\u8da3\u7684\u8bfb\u8005\u53ef\u4ee5\u9605\u8bfb\u7b14\u8005\u4e4b\u524d\u7684\u6587\u7ae0\uff1a\u795e\u5947\u7684\u6570\u636e\u6062\u590d\u7b97\u6cd5\u3002<\/p>\n<h1>\u5176\u4ed6\u7ec4\u4ef6<\/h1>\n<p> <\/p>\n<p>\u524d\u9762\u7684\u90fd\u662f\u5e38\u89c4\u64cd\u4f5c\uff0c\u8fd9\u91cc\u624d\u662f\u91cd\u5934\u620f\u3002<\/p>\n<p>Melon \u4e2d\u8fd8\u5305\u62ec\u5982\u4e0b\u5b9e\u7528\u7ec4\u4ef6\uff1a<\/p>\n<ul>\n<li>\u5185\u5b58\u6c60<\/li>\n<li>\u6570\u636e\u94fe<\/li>\n<li>TCP \u5c01\u88c5<\/li>\n<li>\u4e8b\u4ef6\u673a\u5236<\/li>\n<li>\u6587\u4ef6\u7f13\u5b58<\/li>\n<li>HTTP \u5904\u7406<\/li>\n<li>\u811a\u672c\u8bed\u8a00<\/li>\n<li>\u8bcd\u6cd5\u5206\u6790\u5668<\/li>\n<li>websocket<\/li>\n<li>\u591a\u8fdb\u7a0b\u6846\u67b6<\/li>\n<li>\u591a\u7ebf\u7a0b\u6846\u67b6<\/li>\n<\/ul>\n<p>\u56e0 Melon \u4f5c\u8005 Nginx \u4e2d\u6bd2\u8f83\u6df1\uff0c\u6240\u4ee5 Melon \u4e2d\u90e8\u5206\u673a\u5236\u4e0e Nginx \u8f83\u4e3a\u76f8\u4f3c\u3002<\/p>\n<p><strong>\u5185\u5b58\u6c60\uff1a<\/strong>\u8fd9\u91cc\u5185\u5b58\u6c60\u4e0d\u4ec5\u652f\u6301\u5bf9\u4ece\u5806\u4e2d\u5206\u914d\u7684\u5185\u5b58\u8fdb\u884c\u7ba1\u7406\uff0c\u8fd8\u652f\u6301\u5bf9\u5171\u4eab\u5185\u5b58\u7684\u7ba1\u7406\u3002<\/p>\n<p><strong>\u6570\u636e\u94fe\u4e0e TCP \u5c01\u88c5\uff1a<\/strong>TCP \u5c01\u88c5\u4e2d\u5305\u542b\u4e86\u963b\u585e\u4e0e\u975e\u963b\u585e\u4e0b\u7684\u6536\u53d1\u903b\u8f91\uff0c\u5e76\u5229\u7528\u6570\u636e\u94fe\u7ed3\u6784\u6765\u5b58\u653e\u53d1\u9001\u6570\u636e\u4e0e\u63a5\u6536\u6570\u636e\u3002<\/p>\n<p><strong>\u4e8b\u4ef6\u673a\u5236\uff1a<\/strong>\u4e8b\u4ef6\u673a\u5236\u4e2d\u4e0d\u4ec5\u652f\u6301 epoll \u3001select\uff0c\u8fd8\u652f\u6301 Kqueue\uff0c\u5e93\u5728\u7f16\u8bd1\u524d\u4f1a\u81ea\u884c\u68c0\u6d4b\u5e73\u53f0\u652f\u6301\u60c5\u51b5\u3002\u4e8b\u4ef6\u5305\u542b\u4e86\uff1a<\/p>\n<ul>\n<li>\u53e5\u67c4\uff08\u6587\u4ef6\u63cf\u8ff0\u7b26\uff09\u4e8b\u4ef6\uff1a\u8bfb\u3001\u5199\u3001\u51fa\u9519\u4e8b\u4ef6\uff0c\u4ee5\u53ca\u8d85\u65f6\u4e8b\u4ef6\uff08\u4e3b\u8981\u7528\u4e8e\u8d85\u65f6\u65ad\u5f00\u94fe\u63a5\uff09\uff1b<\/li>\n<li>\u5b9a\u65f6\u4e8b\u4ef6\uff08\u4e0e\u53e5\u67c4\u8d85\u65f6\u662f\u4e24\u7801\u4e8b\uff09\uff1b<\/li>\n<li>\u4fe1\u53f7\u5904\u7406\u4e8b\u4ef6\uff1a\u8fd9\u91cc\u7684\u4fe1\u53f7\u5904\u7406\u5e76\u975e\u4e00\u4e2a\u4fe1\u53f7\u53ea\u80fd\u6709\u4e00\u4e2a\u5904\u7406\u4e8b\u4ef6\uff0c\u800c\u662f\u8bbe\u7f6e\u591a\u5c11\u4e2a\u5904\u7406\u51fd\u6570\u5c31\u4f1a\u6267\u884c\u591a\u5c11\u4e2a\uff1b<\/li>\n<\/ul>\n<p><strong>\u6587\u4ef6\u7f13\u5b58\uff1a<\/strong>\u53c2\u8003 Nginx \u6587\u4ef6\u7f13\u5b58\uff0c\u907f\u514d\u5bf9\u540c\u4e00\u6587\u4ef6\u7684\u91cd\u590d\u6253\u5f00\u6d6a\u8d39\u6587\u4ef6\u63cf\u8ff0\u7b26\u8d44\u6e90\u3002<\/p>\n<p><strong>HTTP\uff1a<\/strong>\u5305\u542b\u4e86 HTTP \u7684\u63a5\u6536\u89e3\u6790\u548c\u53d1\u9001\uff0c\u8be5\u5957\u63a5\u53e3\u4f9d\u8d56\u4e8e<strong>\u6570\u636e\u94fe<\/strong>\u7ed3\u6784\u6765\u8fdb\u884c\u5904\u7406\uff0c\u56e0\u6b64\u53ef\u914d\u5408<strong>TCP \u5c01\u88c5<\/strong>\u4e00\u540c\u4f7f\u7528\u3002<\/p>\n<p><strong>\u811a\u672c\u8bed\u8a00\uff1a<\/strong>\u5185\u5bb9\u8f83\u591a\uff0c\u53ef\u53e6\u884c\u53c2\u8003\uff1aMelang \u811a\u672c\u8bed\u8a00\u3002<\/p>\n<p><strong>\u8bcd\u6cd5\u5206\u6790\u5668\uff1a<\/strong>\u4e4b\u6240\u4ee5\u8fd9\u4e2a\u5355\u72ec\u7b97\u4e00\u4e2a\u529f\u80fd\u7ec4\u4ef6\uff0c\u662f\u56e0\u4e3a\u5728 Melon \u4e2d\uff0c\u914d\u7f6e\u6587\u4ef6\u89e3\u6790\u5c31\u662f\u4f7f\u7528\u8be5\u8bcd\u6cd5\u5206\u6790\u5668\u5904\u7406\u7684\u3002\u4ec5\u901a\u8fc7\u4e09\u884c C \u4ee3\u7801\u5c31\u53ef\u4ee5\u5b9e\u73b0\u4e00\u4e2a\u6700\u6700\u57fa\u7840\u7684\u8bcd\u6cd5\u5206\u6790\u5668\uff0c\u8fd9\u4e5f\u5f52\u529f\u4e8e C \u8bed\u8a00\u5b8f\u7684\u5f3a\u5927\u3002<\/p>\n<p><strong>websocket\uff1a<\/strong>\u8be5\u90e8\u5206\u4f9d\u8d56\u4e8e<strong>HTTP<\/strong>\u7ec4\u4ef6\u3002<\/p>\n<p><strong>\u591a\u8fdb\u7a0b\uff1a<\/strong>\u591a\u8fdb\u7a0b\u91c7\u7528\u4e00\u4e3b\u591a\u4ece\u6a21\u5f0f\uff0c\u4e3b\u8fdb\u7a0b\u505a\u7ba1\u7406\uff0c\u4ece\u8fdb\u7a0b\u5904\u7406\u5b9e\u9645\u4e1a\u52a1\u3002\u4e3b\u8fdb\u7a0b\u4e0e\u4ece\u8fdb\u7a0b\u4e4b\u95f4\u7531 socketpair \u76f8\u8fde\uff0c\u56e0\u6b64\u4ece\u8fdb\u7a0b\u5f02\u5e38\u9000\u51fa\uff0c\u4e3b\u8fdb\u7a0b\u4f1a\u7acb\u523b\u62c9\u8d77\u4e00\u4e2a\u65b0\u7684\u5b50\u8fdb\u7a0b\uff0c\u540c\u65f6\u4e3b\u5b50\u8fdb\u7a0b\u4e5f\u53ef\u4ee5\u901a\u8fc7\u8be5 socketpair \u8fdb\u884c\u6570\u636e\u901a\u4fe1\u3002\u9664\u4e86\u81ea\u8eab\u5b50\u8fdb\u7a0b\u53ef\u4ee5\u7ba1\u7406\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e\u6765\u62c9\u8d77\u5176\u4ed6\u7a0b\u5e8f\u4f5c\u4e3a\u81ea\u5df1\u7684\u5b50\u8fdb\u7a0b\u6765\u7ba1\u7406\uff0c\u6709\u4e9b\u7c7b\u4f3c\u4e8e supervisord \u3002<\/p>\n<p><strong>\u591a\u7ebf\u7a0b\uff1a<\/strong>\u591a\u7ebf\u7a0b\u5206\u4e3a\u4e24\u7c7b\uff0c\u4e00\u7c7b\u662f\u5e38\u89c4\u7684\u7ebf\u7a0b\u6c60\uff0c\u53e6\u4e00\u7c7b\u662f\u6a21\u5757\u5316\u7684\u7ebf\u7a0b\u3002\u540e\u8005\u4e5f\u662f\u4e00\u4e3b\u591a\u4ece\u6a21\u578b\uff0c\u4e3b\u4e0e\u5b50\u4e4b\u95f4\u662f\u901a\u8fc7 socketpair \u8fdb\u884c\u901a\u4fe1\uff0c\u800c\u6bcf\u4e00\u4e2a\u5b50\u7ebf\u7a0b\u90fd\u6709\u5176\u5165\u53e3\u51fd\u6570\uff08\u7c7b\u4f3c main \u51fd\u6570\uff09\uff0c\u6bcf\u4e00\u4e2a\u5b50\u7ebf\u7a0b\u901a\u5e38\u90fd\u662f\u5904\u7406\u4e00\u7c7b\u5355\u4e00\u4e8b\u52a1\u3002<\/p>\n<h1>\u4f7f\u7528\u4e3e\u4f8b<\/h1>\n<p> <\/p>\n<p>\u4e0a\u9762\u8bf4\u4e86\u90a3\u4e48\u591a\uff0c\u4e0b\u9762\u5c31\u6765\u770b\u4e00\u4e2a\u591a\u8fdb\u7a0b\u7684\u4f8b\u5b50\u3002<\/p>\n<p>\u9996\u5148\uff0c\u6211\u4eec\u8981\u5148\u5b89\u88c5 Melon\uff1a<\/p>\n<pre><code>$ git clone https:\/\/github.com\/Water-Melon\/Melon.git $ .\/configure $ make $ sudo make install $ sudo echo \"\/usr\/local\/melon\/lib\/\" &gt;&gt; \/etc\/ld.so.conf $ sudo ldconfig <\/code><\/pre>\n<p>\u5b89\u88c5\u597d\u540e\uff0cMelon \u4f1a\u88ab\u5b89\u88c5\u5728 \/usr\/local\/melon \u4e0b\u3002<\/p>\n<p>\u63a5\u7740\uff0c\u6211\u4eec\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a hello.c \u7684\u6e90\u6587\u4ef6\u6765\u5b8c\u6210\u6211\u4eec\u671f\u671b\u7684\u529f\u80fd\uff1a<\/p>\n<pre><code>#include &lt;stdio.h&gt; #include \"mln_core.h\" #include \"mln_log.h\" #include \"mln_event.h\"  char text[1024];  static int global_init(void); static void worker_process(mln_event_t *ev); static void print_handler(mln_event_t *ev, void *data);  int main(int argc, char *argv[]) {     struct mln_core_attr cattr;     cattr.argc = argc;     cattr.argv = argv;     cattr.global_init = global_init;     cattr.worker_process = worker_process;     return mln_core_init(&amp;cattr); }  static int global_init(void) {     \/\/global variable init function     int n = snprintf(text, sizeof(text)-1, \"hello worldn\");     text[n] = 0;     return 0; }  static void worker_process(mln_event_t *ev) {     \/\/we can set event handler here     \/\/let's set a timer     mln_event_set_timer(ev, 1000, text, print_handler); }  static void print_handler(mln_event_t *ev, void *data) {     mln_log(debug, \"%sn\", (char *)data);     mln_event_set_timer(ev, 1000, data, print_handler); } <\/code><\/pre>\n<p>\u8fd9\u6bb5\u4ee3\u7801\u4e3b\u8981\u662f\u521d\u59cb\u5316\u4e86\u4e00\u4e2a\u5168\u5c40\u53d8\u91cf\uff0c\u7136\u540e\u7ed9\u6bcf\u4e00\u4e2a\u5b50\u8fdb\u7a0b\u521b\u5efa\u4e86\u4e00\u4e2a\u5b9a\u65f6\u4e8b\u4ef6\uff0c\u5373\u6bcf\u4e00\u79d2\u4e2d\u8f93\u51fa\u4e00\u4e2a hello world \u3002<\/p>\n<p>\u6211\u4eec\u5148\u8fdb\u884c\u7f16\u8bd1\u94fe\u63a5\u751f\u6210\u53ef\u6267\u884c\u7a0b\u5e8f\uff1a<\/p>\n<pre><code>$ gcc -o hello hello.c -I \/usr\/local\/melon\/include\/ -L \/usr\/local\/melon\/lib\/ -lmelon <\/code><\/pre>\n<p>\u7136\u540e\uff0c\u6211\u4eec\u9700\u8981\u5148\u4fee\u6539 Melon \u5e93\u7684\u914d\u7f6e\u6587\u4ef6\uff1a<\/p>\n<pre><code>$ sudo vim \/usr\/local\/melon\/conf\/melon.conf  log_level \"none\"; \/\/user \"root\"; daemon off; core_file_size \"unlimited\"; \/\/max_nofile 1024; worker_proc 1; thread_mode off; framework off; log_path \"\/usr\/local\/melon\/logs\/melon.log\"; \/*  * Configurations in the 'exec_proc' are the  * processes which are customized by user.  *  * Here is an example to show you how to  * spawn a program.  *     keepalive \"\/tmp\/a.out\" [\"arg1\" \"arg2\" ...]  * The command in this example is 'keepalive' that  * indicate master process to supervise this  * process. If process is killed, master process  * would restart this program.  * If you don't want master to restart it, you can  *     default \"\/tmp\/a.out\" [\"arg1\" \"arg2\" ...]  *  * But you should know that there is another  * arugment after the last argument you write here.  * That is the file descriptor which is used to  * communicate with master process.  *\/ exec_proc {    \/\/ keepalive \"\/tmp\/a\"; } thread_exec { \/\/    restart \"hello\" \"hello\" \"world\"; \/\/    default \"haha\"; } <\/code><\/pre>\n<p>\u6211\u4eec\u505a\u5982\u4e0b\u4fee\u6539:<\/p>\n<ul>\n<li>framework off; &#8211;&gt; framework on;<\/li>\n<li>worker_proc 1; &#8211;&gt; worker_proc 3;<\/li>\n<\/ul>\n<p>\u8fd9\u6837\uff0c\u591a\u8fdb\u7a0b\u6846\u67b6\u5c06\u88ab\u542f\u7528\uff0c\u4e14\u4f1a\u4ea7\u751f\u4e09\u4e2a\u5b50\u8fdb\u7a0b\u3002<\/p>\n<p>\u7a0b\u5e8f\u542f\u52a8\u540e\u5982\u4e0b\uff1a<\/p>\n<pre><code>$ .\/hello Start up worker process No.1 Start up worker process No.2 Start up worker process No.3 02\/08\/2021 09:34:46 GMT DEBUG: hello.c:print_handler:39: PID:25322 hello world  02\/08\/2021 09:34:46 GMT DEBUG: hello.c:print_handler:39: PID:25323 hello world  02\/08\/2021 09:34:46 GMT DEBUG: hello.c:print_handler:39: PID:25324 hello world  02\/08\/2021 09:34:47 GMT DEBUG: hello.c:print_handler:39: PID:25322 hello world  02\/08\/2021 09:34:47 GMT DEBUG: hello.c:print_handler:39: PID:25323 hello world  02\/08\/2021 09:34:47 GMT DEBUG: hello.c:print_handler:39: PID:25324 hello world  ... <\/code><\/pre>\n<p>\u8fd9\u65f6\uff0c\u53ef\u4ee5 ps \u770b\u4e00\u4e0b\uff0c\u4e00\u5171\u5b58\u5728\u56db\u4e2a hello \u8fdb\u7a0b\uff0c\u4e00\u4e2a\u4e3a\u4e3b\uff0c\u5176\u4f59\u4e09\u4e2a\u4e3a\u5b50\u8fdb\u7a0b\u3002<\/p>\n<h1>\u5c0f\u7ed3<\/h1>\n<p> <\/p>\n<p>\u4e8b\u5b9e\u4e0a\uff0cMelon \u5e76\u4e0d\u4f1a\u6709\u8fc7\u591a\u6761\u6761\u6846\u6846\u9700\u8981\u5f00\u53d1\u8005\u5c0f\u5fc3\u8c28\u614e\u6015\u8e29\u5751\u3002\u4e0e Skynet \u7c7b\u4f3c\uff0cMelon \u63d0\u4f9b\u7684\u7edd\u5927\u591a\u6570\u5185\u5bb9\u90fd\u53ef\u72ec\u7acb\u4f7f\u7528\uff0c\u800c\u4e0d\u5fc5\u4e00\u5b9a\u4e0e\u591a\u8fdb\u7a0b\u591a\u7ebf\u7a0b\u6846\u67b6\u7ed3\u5408\u3002\u56e0\u6b64\uff0c\u8fd9\u4e5f\u7ed9\u4e86\u4f7f\u7528\u8005\u6781\u5927\u7684\u81ea\u7531\u5ea6\u3002<\/p>\n<p>Melon \u7684\u5b98\u65b9 QQ \u7fa4\u53f7\uff1a756582294<\/p>\n<p>\u611f\u8c22\u9605\u8bfb\uff0c\u6b22\u8fce\u5404\u4f4d\u5728\u8bc4\u8bba\u533a\u7559\u8a00\u8bc4\u8bba\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>26<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5258935\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hxndg <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u540c\u5185\u5b58\u6a21\u578b\u4e0b\u7684\u987a\u5e8f\u4e00\u81f4\u6027\u600e\u4e48\u505a\u7684\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5258936\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : monkeyNik <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @hxndg \u5144\u5f1f\u60f3\u591a\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5258937\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : AndyAO <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u867d\u7136\u76ee\u524d\u8fd8\u7528\u4e0d\u5230\uff0c\u4f46\u611f\u89c9\u597d\u50cf\u662f\u5f88\u4e0d\u9519\u7684\u4e1c\u897f\uff0c\u4e3a\u4e3b\u7684\u5949\u732e\u7cbe\u795e\u70b9\u4e2a\u8d5e \/ \u9876\u4e2a\u5e16\u513f.                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5258938\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hxndg <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @monkeyNik \u6ca1\u61c2\uff0c\u5806\u5185\u5b58\u548c\u987a\u5e8f\u4e00\u81f4\u6027\u6709\u5565\u5173\u7cfb\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5258939\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : monkeyNik <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @hxndg                                                             <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5258940\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : mintist <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd8\u6709\u4eba\u8bb0\u5f97 C\uff0c\u54c8\u54c8\u54c8\u54c8                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5258941\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : monkeyNik <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @mintist \u5149\u590d\u6211\u5927 C \u54c8\u54c8\u54c8\uff5e                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5258942\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : gaigechunfeng <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5fc5\u987b\u652f\u6301\uff0c\u5148 make \u4e00\u4e0b\u3002<br \/>\u73b0\u5728\u5df2\u7ecf\u57fa\u672c\u8131\u79bb C \u8bed\u8a00\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5258943\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : rim99 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8d5e\uff0c\u4e0d\u8fc7\u73b0\u5728\u9700\u8981\u5199 C\/C++\u7684\u9879\u76ee\u8d8a\u6765\u8d8a\u5c11                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5258944\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : commoccoom <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u63d2\u773c\uff0c\u521a\u521a\u5f00\u59cb\u5b66\u4e60 C \u7684\u8def\u8fc7                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5258945\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : CismonX <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5149\u4ece 3700 \u591a\u884c\u7684\u7eaf\u6587\u672c\u6587\u6863\u5c31\u80fd\u770b\u51fa\u6765\u4e3b\u5f88\u7528\u5fc3                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5258946\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jfcai <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5148\u6536\u85cf\uff0c\u8bf4\u4e0d\u5b9a\u54ea\u5929\u7528\u5f97\u4e0a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5258947\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : monkeyNik <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @CismonX \u591a\u8c22\u5144\u53f0\u7684\u5efa\u8bae\uff0c\u5176\u5b9e\u4e4b\u524d\u5fd9\u4e8e\u5185\u90e8\u811a\u672c\u8bed\u8a00\u7684\u6587\u6863\u548c\u7ad9\u70b9\u5efa\u8bbe\u8fd8\u6709 bug \u4fee\u590d\u5c31\u6ca1\u5b8c\u5584\u8fd9\u90e8\u5206\uff0c\u8fd9\u90e8\u5206\u786e\u5b9e\u9700\u8981\u5b8c\u5584\u4e00\u4e0b\uff0c\u76ee\u524d\u611f\u89c9\u770b\u7740\u6bd4\u8f83\u4e71                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5258948\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : codehz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             1 \u8bf4\u7684\u5e94\u8be5\u662f\u53ef\u89c1\u6027\u95ee\u9898\u5427\uff0c\u5c31\u662f\u4e00\u4e2a\u7ebf\u7a0b\u5bf9\u5171\u4eab\u53d8\u91cf\u7684\u4fee\u6539\u5728\u522b\u7684\u7ebf\u7a0b\u89d2\u5ea6\u7684\u53ef\u89c1\u6027\uff0c\u4f46\u662f\u4e3b\u8fd9\u65e2\u7136\u6ca1\u6709\u91c7\u7528\u5171\u4eab\u5185\u5b58\u7684\u8bbe\u8ba1\uff0c\u5c31\u5e94\u8be5\u4e0d\u4f1a\u6709\u53ef\u89c1\u6027\u7684\u95ee\u9898\uff08                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5258949\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : BingoXuan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u517c\u5bb9 ANSI C \u89c4\u8303\u4e0d\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5258950\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : monkeyNik <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @codehz \u5176\u5b9e\u662f\u652f\u6301\u5171\u4eab\u5185\u5b58\u7684\u54e6\uff0c\u5185\u5b58\u6c60\u53ef\u4ee5\u5206\u914d\u5171\u4eab\u5185\u5b58\u3002\u591a\u7ebf\u7a0b\u7684\u8bdd\u5c31\u4f7f\u7528 pthread \u4e0b\u7684\u9501\u6216\u8005\u5e93\u5185\u7f6e\u7684\u81ea\u65cb\u9501\u90fd\u884c\uff0c\u591a\u8fdb\u7a0b\u5904\u7406\u5171\u4eab\u5185\u5b58\u7684\u8bdd\uff0c\u9ed8\u8ba4\u5c01\u88c5\u7684\u662f\u8de8\u8fdb\u7a0b\u7684 pthread \u8bfb\u5199\u9501\uff0c\u4e0d\u8fc7\u5206\u914d\u4e0e\u91ca\u653e\u51fd\u6570\u5185\u4e0d\u4f1a\u9ed8\u8ba4\u8c03\u7528\u52a0\u9501\u89e3\u9501\uff0c\u6240\u4ee5\u4f7f\u7528\u8005\u53ef\u4ee5\u5728\u5916\u90e8\u7528\u5176\u4ed6\u9501\u6765\u66ff\u4ee3\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5258951\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : monkeyNik <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @BingoXuan \u4e25\u683c\u6765\u8bf4\u4e0d\u517c\u5bb9\uff0c\u91cc\u9762\u662f\u7528\u5230\u4e00\u4e9b gnu c \u7684\u4e1c\u897f\uff0c\u4f8b\u5982\uff1ainline\uff0c\u53ef\u53d8\u53c2\u5b8f\uff0c__attribute__\uff0c\u5b8f\u62fc\u63a5\u4e4b\u7c7b\u7684\u529f\u80fd\u3002<br \/>\u4e0d\u8fc7\u76ee\u524d\u8fd9\u4e2a\u5e93\u5728 CentOS MacOS Freebsd \u4e0a\u90fd\u53ef\u4ee5\u6b63\u5e38\u4f7f\u7528\uff0c\u5e76\u4e14 mac \u4e0a\u4e5f\u652f\u6301 x86 \u548c arm \u67b6\u6784 cpu                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5258952\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : silencht <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5148\u7ed9\u4e2a\u661f mark \u4e00\u4e0b O(\u2229_\u2229)O                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5258953\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : byaiu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             atomic \u4e5f\u6709 c \u5e93\u81ea\u5e26\u7684 \u5982\u679c\u652f\u6301\u65b0\u4e00\u70b9\u7684 c11 \u53ef\u80fd\u5c31\u80fd\u76f4\u63a5\u7528\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5258954\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : monkeyNik <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u611f\u8c22\u5404\u4f4d\u7684\u610f\u89c1\u548c\u5efa\u8bae\uff0c\u79ef\u7d2f\u8fd1 7 \u5e74\u7684\u6210\u679c\u80fd\u591f\u88ab\u5927\u5bb6\u652f\u6301\uff0c\u662f\u8fd9\u4e00\u5e74\u91cc\u6211\u6700\u5927\u7684\u6536\u83b7\uff0c\u6211\u4e5f\u4f1a\u7ee7\u7eed\u7ef4\u62a4\u548c\u589e\u52a0\u65b0\u529f\u80fd\uff0c\u52aa\u529b\u4e0d\u8d1f\u6240\u671b\u3002<br \/>\u65b0\u7684\u4e00\u5e74\u91cc\uff0c\u795d\u5927\u5bb6\u725b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5258955\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : monkeyNik <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u54ce&#8230;\u624b\u6296\u4e86&#8230;                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5258956\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wtdg86ok <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             star \u4e86\uff0c\u524d\u8f88\u771f\u5389\u5bb3~                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5258957\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : codehz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @monkeyNik \u52a0\u9501\u4e5f\u6ca1\u95ee\u9898\uff0c\u4e3b\u8981\u95ee\u9898\u51fa\u5728\u8bbe\u8ba1\u201c\u65e0\u9501\u201d\u7ed3\u6784\u4e0a\uff0c\u5bb9\u6613\u8e29\u5751\uff0c\u5f04\u51fa\u53ea\u6709 x86 \u7cfb\u5217\u80fd\u8dd1\u7684\u8bbe\u8ba1\uff08                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5258958\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : geekzhu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u867d\u7136\u4e0d\u61c2\uff0c\u4f46\u662f\u611f\u89c9\u5199\u8fd9\u4e1c\u897f\u7684\u90fd\u662f\u5927\u4f6c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5258959\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : monkeyNik <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u65b0\u6587\u5df2\u7ecf\u53d1\u5e03\u5566\uff1a https:\/\/www.v2ex.com\/t\/753269<br \/>\u5173\u4e8e Melon \u4e2d\u591a\u7ebf\u7a0b\u5f00\u53d1\u7684\u5185\u5bb9\uff0c\u671f\u5f85\u611f\u5174\u8da3\u7684\u5c0f\u4f19\u4f34\u6765\u9605\u8bfb                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5258960\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : monkeyNik <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5404\u4f4d\u5b9e\u5728\u4e0d\u597d\u610f\u601d\uff0c\u4e4b\u524d QQ \u7fa4\u8bbe\u7f6e\u6709\u95ee\u9898\u5bfc\u81f4\u65e0\u6cd5\u641c\u7d22\u5230\uff0c\u611f\u8c22\u53cd\u9988\uff0c\u5df2\u7ecf\u53ef\u4ee5\u641c\u7d22\u5230\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5f00\u53d1\u5229\u5668\u2014\u2014C \u8bed\u8a00\u5fc5\u5907\u5b9e\u7528\u7b2c\u4e09\u65b9&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/340342"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=340342"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/340342\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=340342"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=340342"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=340342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}