2011年6月25日

Linux socket编程 服务器 客户端

摘要: 根据网上的程序修改的,感谢! 另外有个Linux网络调试工具,tcpdump,类似xp上的wireshark,使用介绍: http://tcpdump.anheng.com.cn/news/24/586.html服务器端: /* socksrv.c*/#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/types.h>#include <sys/socket.h>#include <netinet/in.h> /* for struct 阅读全文

posted @ 2011-06-25 15:56 yanhc 阅读(683) 评论(0) 推荐(0) 编辑

导航