usockets
µSockets is the non-blocking, thread-per-CPU foundation library used by µWebSockets. It provides optimized networking - using the same opaque API (programming interface) across all supported transports, event-loops and platforms.
Latest version: 0.8.8
Add to xmake.lua
add_requires("usockets 0.8.8")Learn how to add and link packages with Xmake →
Information
- License
- Apache-2.0
- Recipe updated
- 2026-03-26T22:13:31.000Z
Platforms
- linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
- cross: i386, x86_64, arm, armv7, arm64, mips, mips64, mips64el, riscv, riscv64, loong64, s390x, ppc, ppc64, ppc64el, sh4, sparc64
- macosx: x86_64, arm64
- windows: x86, x64, arm, arm64, arm64ec
Options
quic- Enable lsquic · Type: boolean · Default: false
ssl- Select ssl library · Type: string · Values: openssl, openssl3, wolfssl, boringssl
uring- Enable liburing · Type: boolean · Default: false
uv- Enable libuv · Type: boolean · Default: false
Versions
- v0.8.8
Dependencies
No dependencies declared.
Used by (2)
Packages declaring this dependency; requirements can vary by platform and configuration.
Install with xrepo
Install the package independently of a project and inspect its available configuration.
install
xrepo install "usockets 0.8.8"show info
xrepo info "usockets"Link a library to your target
Declare the requirement, then attach the library to the target that uses it.
xmake.lua
add_requires("usockets 0.8.8")
target("demo")
set_kind("binary")
add_files("src/*.cpp")
add_packages("usockets")Open a package environment
Open a shell with the environment exported by this package. Use the executable names documented by the package.
enter shell
xrepo env -b "usockets 0.8.8" shell