# websocket **Repository Path**: cxtan/websocket ## Basic Information - **Project Name**: websocket - **Description**: websocket client - **Primary Language**: C - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2024-04-24 - **Last Updated**: 2024-04-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## websocket client ### 1. 如何编译 1. mkdir build 2. cd build && cmake .. 3. cmake --build . --target hello-server ### 2. 运行示例 ```c tzy@LAPTOP-595ER4EN:~/websocket/build/bin$ ./hello-server connect websocket server success!!! onmessage recv:hello server hello world!!!! write [hello world!!!!] success!!!! onmessage recv:hello world!!!! hello websocket!!!!!! write [hello websocket!!!!!!] success!!!! onmessage recv:hello websocket!!!!!! ^Cbyby!!! ```