tinyhttpd icon indicating copy to clipboard operation
tinyhttpd copied to clipboard

tinyhttpd的详细注释版,十分适合入门者学习的一个项目

Results 6 tinyhttpd issues
Sort by recently updated
recently updated
newest added

https://github.com/cbsheng/tinyhttpd/blob/247de7e5dc47d59b79df90dc73938ae791ba1a15/httpd.c#L313

这个编译警告可以解决吗? ``` gcc -W -Wall -lpthread -o httpd httpd.c httpd.c: In function ‘startup’: httpd.c:533:52: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness [-Wpointer-sign] if (getsockname(httpd, (struct...

我看到393行,有//,但是没写注释,估计是大佬忘记了。我查了一下,MSG_PEEK表示窥探缓存中的数据,但是不会导致这些数据被清除。