sockpp
fpagliughi/sockpp · Public GitHub repository
Modern C++ socket library.
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.

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.
- C++ Network Sockets - Wrappers for C++ network sockets.
- Modern C++ API - C++17 and some C++20 features, with move semantics for transfering ownership of socket objects.
- Platform Independence - Portable features on Linux, macOS, and Windows.
- TCP/UDP sockets — IPv4 and IPv6 on supported platforms
- UNIX-domain sockets — stream and datagram on all UNIX-like systems, plus experimental support on recent Windows.
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
More projects to explore
iptv
iptv-org/iptv
Collection of publicly available IPTV channels from all over the world
HowToLiveBetter
eternity4719/HowToLiveBetter
高性价比人生指南: 长寿防病、急救、省钱理财、法律红线、失业与工伤、医保社保、恋爱婚育、怀孕育儿、创业与做平台合规、出国与技能。每条写明成本、收益、证据等级和原始出处,只引期刊论文与官方文件。
OpenManus
FoundationAgents/OpenManus
No fortress, purely open ground. OpenManus is Coming.
JavaScript30
wesbos/JavaScript30
30 Day Vanilla JS Challenge