
网络编程
liuxiaokai_liu
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
http协议及简单的http服务器
URL:统一资源定位符 urlencode将字符用ASCII码转化显示 urldecode将ASCII码解码为字符 http基于请求响应 客户端发起请求,服务端响应请求,然后断开连接 请求协议格式: 请求行:方法(GET/POST) URL HTTP版本(1.1) 请求报头:name:value(以行为单位) ...原创 2018-07-14 16:48:37 · 344 阅读 · 0 评论 -
http服务器
#include <stdio.h> #include <stdlib.h> #include <signal.h> #include <unistd.h> #include <fcntl.h> #include <string.h> #include <pthread.h> #include <as原创 2018-08-04 22:37:12 · 288 阅读 · 0 评论