hpsocket

High Performance Network Framework

Latest version: 6.0.2

Add to xmake.lua

add_requires("hpsocket 6.0.2")

Learn how to add and link packages with Xmake →

Information

License
Apache-2.0
Recipe updated
2025-03-27T02:09:00.000Z

Platforms

  • linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
  • android: armeabi, armeabi-v7a, arm64-v8a, riscv64, x86, x86_64, mips, mip64
  • windows: x86, x64

Options

no_4c
Build hpsocket without C interface · Type: boolean · Default: true
no_brotli
Build hpsocket without brotli · Type: boolean · Default: false
no_http
Build hpsocket without http · Type: boolean · Default: false
no_iconv
Build hpsocket without iconv · Type: boolean · Default: false
no_ssl
Build hpsocket without ssl · Type: boolean · Default: false
no_udp
Build hpsocket without udp · Type: boolean · Default: false
no_zlib
Build hpsocket without zlib · Type: boolean · Default: false
unicode
Build hpsocket with unicode character set · Type: boolean · Default: false

Versions

  • v5.7.3
  • v5.8.4
  • v5.9.1
  • v6.0.1
  • v6.0.2

Dependencies

No dependencies declared.

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "hpsocket 6.0.2"

show info

xrepo info "hpsocket"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("hpsocket 6.0.2")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("hpsocket")

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 "hpsocket 6.0.2" shell