简单http-server的C语言实现.pdfVIP

  • 6
  • 0
  • 约1.51万字
  • 约 8页
  • 2022-07-25 发布于广西
  • 举报
简单http_server的C语⾔实现 主要实现以下⼏点 : 1.静态⽂件访问,包括j pg、h ml、css等 2.⽂件不存在404 3.⽬录列表 4.50 1 No Implemen ed ============================================================================= 启动脚本 # !/bin/sh ps -ef | grep fasthttp | grep -v grep | awk {print $2} | xargs -t -i kill -9 {} /dev/null gcc fasthttp.c -o fasthttp $(pwd)/fasthttp 以下是源码 ===================================================================================== #include string.h #include stdio.h #include stdlib.h #include netinet/in.h #i

文档评论(0)

1亿VIP精品文档

相关文档