摘要: 1 //// 客户端上传文件 2 #include <stdio.h> 3 #include <string.h> 4 #include <unistd.h> 5 #include <arpa/inet.h> 6 #include <netinet/in.h> 7 #include <sys/typ 阅读全文
posted @ 2023-12-14 21:46 素装写淡定 阅读(124) 评论(0) 推荐(0)
摘要: // 并发服务器-线程 #include <stdio.h> #include <strings.h> //bzero #include <unistd.h> //close #include <sys/socket.h> //socket #include <netinet/in.h> //str 阅读全文
posted @ 2023-12-14 21:11 素装写淡定 阅读(23) 评论(0) 推荐(0)
摘要: 1 #include <stdio.h> 2 #include <strings.h> //bzero 3 #include <unistd.h> //close 4 #include <sys/socket.h> //socket 5 #include <netinet/in.h> //struc 阅读全文
posted @ 2023-12-14 21:02 素装写淡定 阅读(15) 评论(0) 推荐(0)
摘要: 1 #include <stdio.h> 2 #include <pthread.h> 3 #include <strings.h> 4 #include <string.h> 5 #include <unistd.h> 6 #include <sys/socket.h> 7 #include <n 阅读全文
posted @ 2023-12-14 20:16 素装写淡定 阅读(34) 评论(0) 推荐(0)