摘要: #include<stdio.h> #include<stdlib.h> struct Test { int data; struct Test* next; }; void printList(struct Test* head) { struct Test* point; point = hea 阅读全文
posted @ 2022-09-14 17:19 信号编程好难 阅读(23) 评论(0) 推荐(0) 编辑
摘要: //服务端 #include <stdio.h>#include <stdlib.h>#include <sys/types.h> #include <sys/socket.h>#include <netinet/in.h>#include <arpa/inet.h>#include <string 阅读全文
posted @ 2022-09-10 02:22 信号编程好难 阅读(61) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> #include <sys/types.h> #include <sys/socket.h> #include <arpa/inet.h> //#include<linux/in.h> #include <netinet/in.h> #include <arpa/ 阅读全文
posted @ 2022-09-07 00:51 信号编程好难 阅读(26) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> #include<pthread.h> #include<stdlib.h> //int pthread_create(pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)(vo 阅读全文
posted @ 2022-09-06 03:51 信号编程好难 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 接受端 #include<stdio.h> #include<fcntl.h> #include<unistd.h> #include<signal.h> #include<stdlib.h> #include<sys/shm.h> #include<sys/types.h> #include<sy 阅读全文
posted @ 2022-09-05 15:55 信号编程好难 阅读(63) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示