摘要: 1、安装 daytime 服务:apt-get install xinetdchmod 777 /etc/xinetd.d/daytimevim /etc/xinetd.d/daytime把两个 disable = yes ,改成 disable = no/etc/init.d/xinetd restart2、timeserver.cpp:#include <time.h>#include <netinet/in.h>#include <string.h>#include <stdio.h>#include <unistd.h>#de 阅读全文
posted @ 2013-05-24 15:35 轻典 阅读(240) 评论(0) 推荐(0) 编辑