Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best C/C++ Network Library

Tags:

c++

c

networking

People also ask

Is ASIO part of C++?

Asio is a cross-platform C++ library for network and low-level I/O programming that provides developers with a consistent asynchronous model using a modern C++ approach. (Note: Boost. Asio 1.24. 0 is also included in Boost 1.80.)

Can you use C for networking?

Network programming enables processes to communicate with each other over a computer network, but it is a complex task that requires programming with multiple libraries and protocols. With its support for third-party libraries and structured documentation, C is an ideal language to write network programs.

Where are C++ libraries located?

Usually, there is '/lib' folder on Windows or '/usr/lib' folder on Linux that contains all the libraries. Once the library is installed, the compiler and the linker know the path of the library to use, and the library is ready for use.

Is there a graphics library for C++?

graphics.h library is used to add graphics to your C++ program. For graphic programming, it is a must include library as it contains all required methods.


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