Introduction - If you have any usage issues, please Google them yourself
The websocket server written by big God has memory errors and no memory release. There are still some imperfections.
Put ws.html on your website. Modify the IP inside.
Compile and run the server side (I am under CentOS)
GCC -g -o websocket websocket.c
Valgrind --show-reachable=yes --leak-check=full./websocket
Visit http:// your website /ws.html to see the effect.