Best C/C++ Network Library

c, c++, networking

Solution

Aggregated List of Libraries

- 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

- crossplatform network - open source non blocking metatemplate framework built on top of boost asio

Problem

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.

Original source