Recommendations: asynchronous, portable file io in

2019-04-12 12:05发布

I'm looking for a C++, async io library that should be compatible with both unix and windows systems.

What are some good libraries? Is this asking too much for a library that does both systems? What are peoples' experiences with this matter?

2条回答
爷、活的狠高调
2楼-- · 2019-04-12 13:08

Try to take a look at boost::asio. I've never personally used it but I heard good things about it.

查看更多
仙女界的扛把子
3楼-- · 2019-04-12 13:10

Use boost::asio with boost::iostreams instead of asio streams. ASIO provides asynchronousness, while IOStreams provide powerful portable IO options.

查看更多
登录 后发表回答