{"id":5889,"date":"2024-11-17T08:01:11","date_gmt":"2024-11-17T00:01:11","guid":{"rendered":"http:\/\/blog.coolcoding.cn\/?p=5889"},"modified":"2024-11-17T08:07:48","modified_gmt":"2024-11-17T00:07:48","slug":"%e6%8e%a8%e8%8d%90%e4%b8%80%e4%b8%aa%e5%b0%8f%e5%b7%a7%e7%9a%84socket%e5%b7%a5%e5%85%b7sokit","status":"publish","type":"post","link":"https:\/\/blog.coolcoding.cn\/?p=5889","title":{"rendered":"[\u63a8\u8350]\u4e00\u4e2a\u5c0f\u5de7\u7684socket\u5de5\u5177sokit"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">1\u3001\u670d\u52a1\u5668\u6a21\u5f0f<\/h2>\n\n\n\n<p><br>\u7528\u6765\u76d1\u542c\u672c\u5730\u7aef\u53e3\uff0c\u63a5\u6536\u5916\u90e8\u6570\u636e\u5305\uff0c\u5e76\u4e14\u53ef\u4ee5\u56de\u590d\u81ea\u5b9a\u4e49\u6570\u636e<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><br>2\u3001\u5ba2\u6237\u7aef\u6a21\u5f0f<\/h2>\n\n\n\n<p><br>\u7528\u6765\u8fde\u63a5\u670d\u52a1\u5668\uff0c\u53d1\u9001\u81ea\u5b9a\u4e49\u6570\u636e\u5305\uff0c\u5e76\u63a5\u6536\u8fdc\u7a0b\u56de\u590d\u6570\u636e<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><br>3\u3001\u8f6c\u53d1\u5668\u6a21\u5f0f<\/h2>\n\n\n\n<p><br>\u7528\u6765\u76d1\u542c\u672c\u5730\u7aef\u53e3\uff0c\u5c06\u63a5\u6536\u5230\u7684\u6570\u636e\u5305\u53d1\u9001\u7ed9\u6307\u5b9a\u7684\u8fdc\u7a0b\u670d\u52a1\u5668\uff0c\u4e5f\u53ef\u4ee5\u5728\u8f6c\u53d1\u6570\u636e\u6d41\u4e2d\u63d2\u5165\u81ea\u5b9a\u4e49\u6570\u636e\u5411\u53cc\u53d1\u53d1\u9001<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><br>4\u3001\u652f\u6301\u53d1\u9001ascii\u5b57\u7b26\u4e32\u6570\u636e\uff0c\u4ee5\u53ca\u5341\u516d\u8fdb\u5236\u8868\u793a\u7684\u539f\u59cb\u5b57\u8282\uff0c\u5355\u6b21\u53d1\u9001\u7684\u5b57\u7b26\u6570\u76ee\u6ca1\u6709\u9650\u5236<\/h2>\n\n\n\n<h2 class=\"wp-block-heading\"><br>5\u3001\u6536\u5230\u7684\u6570\u636e\u4f1a\u540c\u65f6\u4ee5\u8fd9\u4e24\u79cd\u5f62\u5f0f\u663e\u793a<\/h2>\n\n\n\n<h2 class=\"wp-block-heading\">\u8f93\u5165\u683c\u5f0f<\/h2>\n\n\n\n<p><br>\u53d1\u9001\u533a\u7684\u7f16\u8f91\u6846\u5185\u7684\u5b57\u7b26\u4f1a\u6309\u7167ascii\u503c\u53d1\u9001(\u591a\u5b57\u8282\u5b57\u7b26\u6309\u7167UTF8\u7f16\u7801)<\/p>\n\n\n\n<p>\u5982\u679c\u9700\u8981\u53d1\u9001\u5341\u516d\u8fdb\u5236\u539f\u59cb\u6570\u636e\uff0c\u8bf7\u5c06\u76f8\u5e94\u6570\u503c\u7684ascii\u8868\u793a\u653e\u8fdb\u65b9\u62ec\u53f7\u4e2d\u3002<\/p>\n\n\n\n<p>\u4f8b\u5982\uff1a[FF AB CD 12 12]\uff0c\u5b9e\u9645\u53d1\u9001\u65f6\u4f1a\u8fc7\u6ee4\u6389\u65b9\u62ec\u53f7\u672c\u8eab\uff0c\u4ee5\u53ca\u5176\u4e2d\u7684\u7a7a\u683c\u5b57\u7b26\u3002<\/p>\n\n\n\n<p>(\u4f7f\u7528\u4e24\u4e2a\u8fde\u7eed\u7684 [[ \u8868\u793a [ \u5b57\u7b26\u672c\u8eab)<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1629\" height=\"695\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2024\/11\/image.png\" alt=\"\" class=\"wp-image-5894\" srcset=\"https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2024\/11\/image.png 1629w, https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2024\/11\/image-512x218.png 512w, https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2024\/11\/image-768x328.png 768w, https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2024\/11\/image-1536x655.png 1536w, https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2024\/11\/image-160x68.png 160w\" sizes=\"(max-width: 1629px) 100vw, 1629px\" \/><\/figure>\n\n\n\n<p><a href=\"https:\/\/github.com\/sinpolib\/sokit\">https:\/\/github.com\/sinpolib\/sokit<\/a><\/p>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-0e44f7a1-6d06-4f33-9384-a85f8e2e0bf6\" href=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2024\/11\/sokit-1.3.20111130.zip\">sokit-1.3.20111130<\/a><a href=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2024\/11\/sokit-1.3.20111130.zip\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-0e44f7a1-6d06-4f33-9384-a85f8e2e0bf6\">\u4e0b\u8f7d<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>1\u3001\u670d\u52a1\u5668\u6a21\u5f0f \u7528\u6765\u76d1\u542c\u672c\u5730\u7aef\u53e3\uff0c\u63a5\u6536\u5916\u90e8\u6570\u636e\u5305\uff0c\u5e76\u4e14\u53ef\u4ee5\u56de\u590d\u81ea\u5b9a\u4e49\u6570\u636e 2\u3001\u5ba2\u6237\u7aef\u6a21\u5f0f \u7528\u6765\u8fde\u63a5\u670d\u52a1\u5668\uff0c\u53d1\u9001 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/5889"}],"collection":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5889"}],"version-history":[{"count":4,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/5889\/revisions"}],"predecessor-version":[{"id":5895,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/5889\/revisions\/5895"}],"wp:attachment":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5889"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5889"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5889"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}