libwebsockets
1.1、libwebsockets简介
是什么 ?:a simple-to-use, MIT-license, pure C library providing client and server for http/1, http/2, websockets, MQTT and other protocols in a security-minded, lightweight, configurable, scalable and flexible way.
开发语言:C
官方主页:https://libwebsockets.org
源码仓库:https://github.com/warmcat/libwebsockets
1.2、通过包管理器安装libwebsockets
操作系统包管理器安装命令
Allvcpkg
vcpkg install libwebsockets
vcpkg install libwebsockets:x64-osx
vcpkg install libwebsockets:x64-linux
vcpkg install libwebsockets:x64-windows
macOSHomeBrewbrew install libwebsockets
GNU/LinuxHomeBrewbrew install libwebsockets
aptsudo apt-get install -y libwebsockets
CentOSyumsudo yum install -y libwebsockets
dnfsudo dnf install -y libwebsocket
openSUSEzyppersudo zypper install -y libwebsockets
Alpine Linuxapksudo apk add libwebsockets

Arch Linux

ArcoLinux

Manjaro Linux

pacmansudo pacman -Syyu --noconfirm
sudo pacman -S    --noconfirm libwebsockets
Gentoo LinuxPortagesudo emerge libwebsockets
1.3、通过编译源码安装libwebsockets
1.4、libwebsockets中包含的头文件
1.5、libwebsockets中包含的库文件
  • libwebsockets.{a | so | dylib}