随笔分类 -  Linux网络编程

网络编程-UDP的服务器和客户端----keep on going never give up
摘要:1 //**************************************服务器********************************************** 2 #include <stdio.h> 3 #include <stdlib.h> 4 #include <str 阅读全文
posted @ 2020-09-23 15:50 ღ惟吾德馨ღ 阅读(162) 评论(0) 推荐(0)
linux-TCP多线程的并发服务器- 以言责人甚易,以义持己实难!!!
摘要:1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <string.h> 4 #include <time.h> 5 #include <sys/types.h> /* See NOTES */ 6 #include <sys/socket.h 阅读全文
posted @ 2020-09-22 10:58 ღ惟吾德馨ღ 阅读(202) 评论(0) 推荐(0)
网络编程-谢谢自己,无所畏惧,从不放弃!!!
摘要:Internet历史: ①ARPAnet(阿帕网):采用网络控制协议(Network Control Protocol, NCP); 缺点 ? ②TCP协议:kahn和vinton cerf提出, 缺点 ? 从此产生TCP/IP协议, 网络体系架构: ①OSI模型 7层: 特点:模型本身通用,理想化 阅读全文
posted @ 2020-09-21 14:27 ღ惟吾德馨ღ 阅读(136) 评论(0) 推荐(0)