socket 的程式在 msys2 裡面,要用 msys 的 console 才能編譯成功
(使用 mingw64 或 mingw32 的話不行)
- 高效能 Web 伺服器開發 (jserv)
- https://github.com/guangqianpeng/fancy
- https://github.com/larryhe/tinyhttpd (強)
- https://github.com/LambdaSchool/C-Web-Server/tree/master/src
- https://www.jmarshall.com/easy/http/
- https://gist.github.com/bdahlia/7826649
Example: