摘要: 继续贴《unix网络编程》上的示例代码。在上一篇帖子中的反射程序使用了tcp协议实现,这次使用udp协议实现。 server段代码: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <string.h> 4 #include <unistd 阅读全文
posted @ 2016-02-18 16:20 纪老猴子 阅读(147) 评论(0) 推荐(0) 编辑