会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
时间的脚注
A FootNote to Time
博客园
首页
新随笔
联系
订阅
管理
随笔分类 -
Network
TCP/IP Socket
linux C/S 有用户名的聊天程序 only one cilent —— using socket
摘要:服务器端源代码如下:#include <stdio.h>#include <stdlib.h>#include <errno.h>#include <string.h>#include <sys/types.h>#include <netinet/in.h>#include <sys/socket.h>#include <sys/wait.h>#include <unistd.h>#include <arpa/inet.h>#include <sys/time.h>
阅读全文
posted @
2009-11-05 22:06
nickolas
阅读(751)
评论(1)
推荐(0)
公告