![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
翼辉系统
李云龙
这个作者很懒,什么都没留下…
展开
-
翼辉系统原始套接字DEMO
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/socket.h>#include <netinet/ip.h>#include <netinet/tcp.h>#define DEST_PROT (4000)#define PACKET_LEN (128)#define TTLVAL (2原创 2021-09-23 19:48:32 · 142 阅读 · 0 评论 -
翼辉实时系统线程示例
#include <stdio.h>#include <pthread.h>void *user_thread(void *arg){ int i = 5; while (i--) { printf("L%d, test_thread run %d.\n", __LINE__, i); sleep(3); } return (0);}int main (int argc, char **argv){原创 2021-09-22 16:10:02 · 82 阅读 · 0 评论