本文介绍了最佳 C/C++ 网络库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一段时间没有在 C/C++ 中工作过,只是想知道人们最喜欢使用哪些跨平台库.
I haven't done work in C/C++ for a little bit and was just wondering what people's favorite cross platform libraries are to use.
我正在寻找一个既快速又脏的库,又是一个更健壮的库.通常这是两个不同的库,这没关系.
I'm looking for something that is a good quick and dirty library as well as a library that is a little more robust. Often those are two different libraries and that's okay.
推荐答案
图书馆聚合列表
- Boost.Asio 真的很棒.
- Asio 也可作为独立库使用.
- ACE 也不错,成熟一点,有一对 书籍 支持它.
- C++ 网络库
- POCO
- Qt
- Raknet
- ZeroMQ (C++)
- nanomsg(C 库)
- nng(C 库)
- 伯克利套接字
- libevent
- Apache APR
- 产量
- Winsock2(仅限 Windows)
- wvstreams
- zeroc
- libcurl
- libuv(跨平台 C 库)
- SFML 的网络模块
- C++ Rest SDK(卡萨布兰卡)
- RCF
- Restbed(HTTP 异步框架)
- SedNL
- SDL_net
- OpenSplice|DDS
- facil.io(C,带有可选的 HTTP 和 Websockets,Linux/BSD/macOS)
- GLib 网络
- grpc 来自 Google
- GameNetworkingSockets 来自 Valve
- CYSockets 以最简单的方式做简单的事情莉>
- yojimbo
- GGPO
- ENet
- SLikeNet 是 Raknet 的一个分支
- 网络代码
- photon 是封闭源代码,需要许可才能使用其 sdk
- Boost.Asio is really good.
- Asio is also available as a stand-alone library.
- ACE is also good, a bit more mature and has a couple of books to support it.
- C++ Network Library
- POCO
- Qt
- Raknet
- ZeroMQ (C++)
- nanomsg (C Library)
- nng (C Library)
- Berkeley Sockets
- libevent
- Apache APR
- yield
- Winsock2(Windows only)
- wvstreams
- zeroc
- libcurl
- libuv (Cross-platform C library)
- SFML's Network Module
- C++ Rest SDK (Casablanca)
- RCF
- Restbed (HTTP Asynchronous Framework)
- SedNL
- SDL_net
- OpenSplice|DDS
- facil.io (C, with optional HTTP and Websockets, Linux / BSD / macOS)
- GLib Networking
- grpc from Google
- GameNetworkingSockets from Valve
- CYSockets To do easy things in the easiest way
- yojimbo
- GGPO
- ENet
- SLikeNet is a fork of Raknet
- netcode
- photon is closed source, requires license to use their sdk
这篇关于最佳 C/C++ 网络库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!