09 2015 档案

摘要:#include #include #include #include #include #include #include #define DEFAULT_PORT 8000 #define MAXLINE 4096 int main(int argc, char **argv)... 阅读全文
posted @ 2015-09-18 01:50 chunyi 阅读(271) 评论(0) 推荐(0)
摘要:常用函数:1.创建一个线程用pthread_create()函数。如果成功返回0.int pthread_create(pthread_t *thread, const pthread_attr_t *attr, ... 阅读全文
posted @ 2015-09-07 00:42 chunyi 阅读(211) 评论(0) 推荐(0)
摘要:引言 get和post在面试过程中一般都会问到,一般的区别: 1.post更安全(不会作为url的一部分,不会被缓存、保存在服务器日志、以及浏览器浏览记录中) 2.post发送的数据量更大(get有url长度限制) 3.post能发送更多的数据类型(get只能发送ASCII字符) 4.po... 阅读全文
posted @ 2015-09-06 22:14 chunyi 阅读(325) 评论(0) 推荐(0)