摘要:
动态多进程池实现NTP服务器 服务端:server.c #include <stdio.h>#include <stdlib.h>#include <sys/types.h>#include <sys/socket.h>#include <signal.h>#include <arpa/inet.h 阅读全文
posted @ 2022-08-12 15:34
*^VV^*
阅读(69)
评论(0)
推荐(0)
摘要:
通过UDP协议实现简单的停等式FTP文件传输。 头文件:proto.h #ifndef __PROTO_H__#define __PROTO_H__ #define FTPPORT "8888" //通讯端口#define PATHSIZE 256#define UDPSIZE 512 enum m 阅读全文
posted @ 2022-08-12 08:49
*^VV^*
阅读(269)
评论(0)
推荐(0)
摘要:
通过静态进程池实现NTP服务器 例程:server.c #include <stdio.h>#include <stdlib.h>#include <string.h>#include <arpa/inet.h>#include <sys/types.h>#include <sys/wait.h># 阅读全文
posted @ 2022-08-12 08:14
*^VV^*
阅读(49)
评论(0)
推荐(0)
浙公网安备 33010602011771号