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

江枫思渺然 提交于 2019-12-03 07:53:28

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.

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.

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