登录
首页 » 套接字网络编程 » 分别多进程多线程select异步IO实现简单聊天程序

分别多进程多线程select异步IO实现简单聊天程序

于 2022-03-21 发布 文件大小:10.78 kB
0 224
下载积分: 2 下载次数: 2

代码说明:

linux下的简单聊天程序,不仅实现了基本的tcp、udp客户端和服务器端程序,还实现了多进程、多线程、基于select的异步io客户端和服务器端聊天程序,对于初学者,很有帮助,因为这个实现可以,更加深入的理解各种实现的区别,如效率等问题。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 1、栏目基本分类功能(目前只支持一级分类) 2、文章评论功能 3、留言本功能 4、支持UBB语法 5、脏字过滤功能...
    1、栏目基本分类功能(目前只支持一级分类) 2、文章评论功能 3、留言本功能 4、支持UBB语法 5、脏字过滤功能-1, columns basic functional classification (currently only supports a classification) 2, features three articles comments, voice of the four functions, support UBB Grammar 5, my country filtering
    2022-11-17 13:30:04下载
    积分:1
  • wrote a socket server reference to a highly
    java写的一个socket服务器程序,参考性极强-wrote a socket server reference to a highly
    2022-03-02 15:15:21下载
    积分:1
  • 计算机网络――自顶向下方法与Internet特色(中文版)
    计算机网络――自顶向下方法与Internet特色(中文版)-Computer network- top-down methods and Internet features (Chinese Version)
    2022-07-25 08:29:17下载
    积分:1
  • 在线学习系统+v1.0 在线学习系统+v1.0
    在线学习系统+v1.0 在线学习系统+v1.0-Online learning system+ v1.0
    2022-03-23 00:28:35下载
    积分:1
  • 这样的一个例子,一个代理服务器,它支持二级代理,其中有一个古董…
    这是一个代理服务器实例,它支持二级代理,其中还有一个虚拟的Web服务器,其根目录是“ProxyServer”, 在运行该程序前首先需要把该目录拷贝到C盘的根目录下,当然你也可以在源代码中改变指定的位置。-This an example of a proxy server, which supports two agents, which have a virtual Web server, the root directory is "ProxyServer" run the procedure before first need to copy the directory C was the root directory, of course, you could also change the source code for the designated location.
    2022-02-25 13:38:06下载
    积分:1
  • DSC(Data Service Center)是用于接收DTU数据和向DTU发送数据的服务软件,和DTU之间通讯使用开发包动态库gprs_dll.dll,该文...
    DSC(Data Service Center)是用于接收DTU数据和向DTU发送数据的服务软件,和DTU之间通讯使用开发包动态库gprs_dll.dll,该文件包括和DTU通讯所需要的全部API函数,包括服务的启动、数据发送、数据接收、关闭服务等,DSC实际上是架构在gprs_dll.dll所提供的功能之上的数据处理软件,其所需要完成的功能如下: 1、 调用API启动服务和停止服务; 2、 调用API接收数据和向DTU发送数据,并且对数据作进一步处理; 3、 调用API轮询DTU用户列表,如果需要可作进一步处理,包括用户认证等; 4、 调用API对DTU进行远程配置 -DSC (Data Service Center) is used to receive data and to the DTU DT U send data services software, and communications between the DTU use development kits gprs_dll.dll DLL, the documents include communications and DTU need all API function, including the launch, data sending, receiving data, the closure of services, DSC is actually in gprs_dll.dll framework provided by the above functions of data processing software, they need to complete the following functions : 1, API calls to stop and restart services; 2. API call and receive data to the DTU send data, as well as data for further processing; 3. Call API Polling DTU user list, if necessary, for further processing, including user authentica
    2022-02-28 19:33:44下载
    积分:1
  • 企业内部局域网系统的通知发布的模块,非常有借鉴作用
    企业内部局域网系统的通知发布的模块,非常有借鉴作用 -Internal LAN system notice published module, a very useful reference
    2022-02-20 12:01:23下载
    积分:1
  • RUDP:简单可靠的UDP。
    这是简单可靠的UDP项目(“RUDP”) 该项目由SourceForge.net托管。项目组将其描述为: 面向对象实现了可靠,有序,交通运输在UDP基础上标题为“可靠的UDP”以博瓦,Krivoruchka,和思科系统(1999)互联网草案协议。
    2022-01-28 14:17:36下载
    积分:1
  • 网上书店,网络通信编程,是是初学者学习网络编程的绝好案例...
    网上书店,网络通信编程,是是初学者学习网络编程的绝好案例-Online bookstore, network communications programming, is the learning network programming beginners an excellent case
    2022-02-05 05:36:25下载
    积分:1
  • RIP 与动态方法
    PROJECTOBJECTIVE: PROJECTSCOPE: 座院落项目: PROBLEMAREA 描述项目旨在查明罪犯帮助下目击证人。有在我们的项目主要包括四个模块。他们是添加、 删除、 更新 andidentifying 的罪犯。我们的项目中有三个主要的角色。他们是: Ø 操作员 Ø administratoris 负责提供用户 id 和密码。他 providesauthentication 的用户。他创建删除和更新用户 id andPasswords。 Eyewitnessidentifies 的帮助下已裁剪的部分存储在 differentdatabase 中,由操作员罪犯。目击者从数据库中选择一个裁剪的部分和裁剪的部分将冻结由运算符以这种方式,从数据库中检索完整的刑事工作的脸和那个罪犯的细节。唯可还构造一个新的映像,从那些已裁剪的部分,我们认为作为 animaginary 面部的犯罪。< 跨度 style="font-size:11.0pt;line-height:200%;font-family:"">
    2023-05-10 01:10:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载