Skip to content

Simple non blocking websocket server written in C++

License

Notifications You must be signed in to change notification settings

lsm1998/tiny-websocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tiny-websocket

Simple websocket server written in C++

使用C++编写的非阻塞websocket服务器

环境说明

  • 操作系统:linux或MacOS(windows暂不支持)
  • C++标准17

编译说明

使用CMake(推荐)

git clone https://github.com/lsm1998/tiny-websocket.git
cd tiny-websocket
cmake .
make

cmake编译.png

运行效果

在线网站测试 reply消息

网址:http://www.jsons.cn/websocket/

在线网站测试.png

使用example目录的html文件测试群聊

群聊.png

About

Simple non blocking websocket server written in C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published