Whether there is a UDT backend for boost::asio?

拟墨画扇 提交于 2019-12-04 13:14:46

问题


Please, tell to me are whether exist UDT protocol backend for boost::asio?

UDT is a reliable UDP based application level data transport protocol for distributed data intensive applications over wide area high-speed networks. ( http://udt.sourceforge.net/index.html )


回答1:


TCP, UDP, and ICMP are supported by Boost.Asio. Other protocols can be implemented by extending the Protocol type requirements. There are several threads on the asio-users mailing list discussing adding support for SCTP, you may be able to use that as an example.




回答2:


This may sound like a shameless plug... But we are currently developing a UDT library based on boost.asio, so that you can have an stream_socket API based on UDP.

Boost Asio Based UDT

At this point, the library is functional (you can async_connect/ async_accept / async_write / async_read stream of bytes between client and server), but we do not support messaging yet. You can use every major Boost.Asio toolkit features with it (e.g. futures, coroutines, and even using TLS above UDT)

The library is still pretty young and we encounter performance issues due to timer precision as discussed here.



来源:https://stackoverflow.com/questions/4805544/whether-there-is-a-udt-backend-for-boostasio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!