Skip to content
r.

sockpp

fpagliughi/sockpp · Public GitHub repository

Modern C++ socket library.

Open project in RepoShelf

Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

sockpp live demo screenshot
Captured from the live demo · 2026-10-31

About this project

Author-written excerpt from the project README.

sockpp is a fairly low-level C++ wrapper around the Berkeley sockets library using socket, acceptor, and connector classes that are familiar concepts from other languages.

The base socket class wraps a system socket handle and maintains its lifetime using the familiar RAII pattern. When the C++ object goes out of scope, it closes the underlying socket handle. Socket C++ objects are generally moveable but not copyable. A socket can be transferred from one scope (or thread) to another using std::move().

The library currently supports: IPv4 and IPv6 on Linux, Mac, and Windows. Other nix and POSIX systems should work with little or no modification.

Requirements and intended audience

sockpp is a fairly low-level C++ wrapper around the Berkeley sockets library using socket, acceptor, and connector classes that are familiar concepts from other languages.

Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.

Statements extracted from the author’s documentation · Checked 2026-10-18. Source: https://github.com/fpagliughi/sockpp/blob/master/README.md

Recorded maintenance information

Last recorded source update: 2026-07-19. Saved release: v1.0.0 · 2023-12-17. These dates do not guarantee ongoing maintenance.

Technologies
C++
Licence
BSD-3-Clause. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
Demo check
A public page loaded on 2026-11-12. This does not test every feature.

Browse related categories