Linux(服务器编程):23---poll复用技术实如今线群聊程序

epoll系统调用的基础语法见文章: http://www.javashuo.com/article/p-sqddpkhg-cr.html http://www.javashuo.com/article/p-hbfzlopz-cx.html 1、程序介绍 咱们本文使用poll I/O复用来实现一个聊天室程序,能让全部的用户在线群聊 服务端有一个功能: 接收客户端数据,并把客户端数据发送给每个登陆到
相关文章
相关标签/搜索