<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Asio - 标签 - 研发日志 · R&amp;D Log</title><link>https://rd163.visword.com/tags/asio/</link><description>Asio - 标签 - 研发日志 · R&amp;D Log</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>whutluohui@gmail.com (小智晖)</managingEditor><webMaster>whutluohui@gmail.com (小智晖)</webMaster><copyright>本作品采用知识共享署名-非商业性使用 4.0 国际许可协议进行许可。</copyright><lastBuildDate>Thu, 05 Jun 2025 00:00:00 +0800</lastBuildDate><atom:link href="https://rd163.visword.com/tags/asio/" rel="self" type="application/rss+xml"/><item><title>基于 boost.asio 的 WebSocket 类库:WebSocket++ 实践要点</title><link>https://rd163.visword.com/posts/cpp-websocket-base-on-boost-asio/</link><pubDate>Thu, 05 Jun 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/cpp-websocket-base-on-boost-asio/</guid><description><![CDATA[<p>在 C++ 项目中接入 WebSocket(RFC 6455)时，如果团队已经在使用 Boost，那么基于 <code>boost::asio</code> 的类库是阻力最小的选择。本文记录笔者在实际项目中使用 <a href="https://github.com/zaphoyd/websocketpp" target="_blank" rel="noopener noreferrer">WebSocket++</a>(仓库命名 <code>websocketpp</code>)的一些关键特性与踩坑点，重点关注协程环境下的线程模型，以及多连接场景下的正确用法。</p>]]></description></item></channel></rss>