我想创建一个多平台移植的C ++服务器的客户端应用程序。它甚至有可能,而只使用标准库?如果没有,还有什么其他的库有哪些?
I am thinking of creating a multi-platform portable C++ server-client application. Is it even possible while using only standard libraries? If no, what other libraries are there?
有没有在这个方向在C ++ 11倍的改进?像线程,现在我们的std ::线程。
Are there any improvements in this direction in C++11x? Like for threads, now we have std::threads.
要更清楚..我想是这样的boost ::线程,它提供多平台的便携式多线程联网。
To make it more clear.. I want something like boost::thread, which provides multiplatform portable multithreading, for networking.
和C ++为什么没有像网络这样的基本的东西库(标准)?
And why C++ doesn't have libraries(standard) for such basic things like networking?
更新:相较于Python的,里面什么都有(几乎)内置于它......为什么在C ++
Update: Comparing to Python, which has everything (almost) built in to it... why not in C++?
推荐答案有是的升压短耳。它已经存在了,只有少数几年......很久以前我们有 ACE ,但感觉现在过时了。
There is Boost Asio. It has existed for "only" a small number of years...long ago we had ACE, but it feels dated now.
更多推荐
便携式Socket编程的C / C ++可能吗?
发布评论