Boost.Asio是一个轻量级的异步网络库,它有简洁,小巧,高效,有良好的可扩展性,支持高并发的IO处理,入门简单等诸多优点。
Boost.Asio在设计上采用和Ace相似的Proactor设计模式,同时内置了对多线程的支持,针对不同的平台,采用了最优的socket模型,可以说能发挥机器的最大并发处理能力。
同时在设计上,Asio在接口上也有良好的可扩展性,几乎每种设计元素都可以根据要求订制和扩充,可以进一步对模型进行抽象和建模来建立自己需要的开发平台。
--- 摘至Internet
发布时间:Dec 9, 2007 10:13 AM
下载地址:http://asio.sourceforge.net/
如果sf的镜像有问题,可以从这里下载http://osdn.dl.sourceforge.net/sourceforge/asio/asio-0.3.9.tar.bz2
作者公告:
I have just released 0.3.9. This release focuses on bug fixes and
improvements to the implementation. The interface is source-compatible
with version 0.3.8. Bug reports are appreciated as I want to get asio
as stable as possible before boost 1.35.
The changes and bug fixes of note are:
* Fixed a problem in the io_service::poll()/poll_one() implementation
where the demultiplexing task was being "lost" from the task queue.
This caused async socket operations to continue indefinitely after
the initial poll.
* Fixed the posix_fd_set_adapter class to support Mac OS X Leopard.
* Use GetModuleHandleA rather than GetModuleHandle to avoid a broken
compile when UNICODE is #defined.
* Fixed a memory leak that occurred when an io_service is allowed to
destruct with unfinished async_wait operations.
* Added a new timer implementation for Windows (when using I/O
completion ports) to eliminate the need for an additional thread.
* Fixed the solaris /dev/poll reactor to work correctly in threaded
applications.
* Added a workaround for a Microsoft Visual C++ iterator problem where
allowing the destruction of an iterator to an already-destroyed
string object resulted in a crash.
* Tried to fix reported crashes related to NULL error_category
pointers, probably due to order-of-initialisation issues (in
Boost.Asio version only).
* Added a new error code (asio::error::fd_set_failure) which is
returned when a socket descriptor is unable to fit into a select()
call's fd_set.
* Worked around deprecated function warnings when compiling with
Microsoft Visual C++ >= 8.
* Fixed a stall that occurred when sending large blocks of data over
SSL.
You can download the new release from here:
http://sourceforge.net/project/showfiles.php?group_id=122478&package_id=134200&release_id=560165
Non-boost version docs here:
http://asio.sourceforge.net/asio-0.3.9/doc/
Boost version docs here:
http://asio.sourceforge.net/boost_asio_0_3_9/libs/asio/doc/
Cheers,
Chris
分享到:
相关推荐
利用Boost Asio库开发的大并发量,高性能的网络通讯库,有线程池和即时,定时任务调度功能.zip 利用Boost Asio库开发的大并发量,高性能的网络通讯库,有线程池和即时,定时任务调度功能.zip 利用Boost Asio库开发的...
Boost.Asio C++ Network Programming 书的翻译 此版本的书无目录失效BUG 并且带全书源代码 方便学习使用
boost库中asio的简单应用,一个服务器一个客户端
简单好用的网络编程接口,使用boost asio 开发的网络程序,支持tcp、ssl,包含server和client
利用Boost::Asio库来实现Post/Get请求的发送。可以快速开发c++的http请求,访问以http为协议的服务器示例代码。
boost asio网络编程入门教程,可以作为学习参考
boost::asio tcp服务器的实现 封装socket, 监听socket, C++11智能指针, 要求: vs2012或以上版本
boost asio在Ubuntu下的例子,包含server,client及makefile。 使用方法: 1. 在Ubuntu下安装boost, sudo apt-get install libboost-all-dev 2. 解压代码,然后make all 3. ./server, ./client即可
boost asio性能测试和研究的例子 asio异步处理方式cpu消耗较高,同样的处理,确比同步方式还要高出一倍的cpu利用率,还能不能用啊
找c++工作常常会问你一些关于网络编程和多线程编程的相关知识,boost作为c++标准库的预备军,使用boost.asio对于c++开发人员是很好的选择,Boost.Asio C++ Network Programming详细介绍了使用boost.asio进行网络编程...
基于boost的asio封装的高性能TCP服务器。asio已经有很好的事件封装机制,只有底层事件,没有针对TCP建立会话机制;也没有多多包进行合包,已包为单位的事件提交机制。由于以上多种原因,决定对boost库进行更高的抽象...
Boost.Asio C++ Network Programming Cookbook.pdf Boost.Asio C++ Network Programming Cookbook.pdf
详细介绍boost asio框架的使用,包括同步模型和异步模型,包括服务器和客户端的编程例子
Boost ASIO C++ 网络编程-带实例完整版本
Boost.Asio C++ Network Programming(2nd).pdf Boost.Asio C++ Network Programming(2nd).pdf Boost.Asio C++ Network Programming(2nd).pdf
该c++ web server基于boost.asio库编写,同时支持http和https协议。该工程基于vs2015编译通过,相关配置和说明见readme.txt
Boost.Asio C++ 网络编程 PDF 高清 非扫描 中文版
boost asio 最新版
最新版本,最新排版
Boost ASIO C++ 网络编程 中文完整版,附全书源代码!