文件名称:caoqing
介绍说明--下载内容来自于网络,使用问题请自行百度
最近学习了非阻塞IO(NIO),因为厌烦了在开发并行处理时候,阻塞IO所导致的肥服务端,因为对于每个客户连接都要产生一个线程对此进行处理,当然你可以不这样实现,但我的前提是开发并行处理,下面是我的源码,因为是在dos命令行测试的,所以要是编写为GUI的时候,还要很多要改的东西,这也是我下个征服的对象,当然我已经迫不及待了,下面是我花了三个晚上学习并编写的非阻塞聊天室:(供交流学习用) -recent study nonobstructive IO (NIO), as tired in the development of parallel processing, IO obstruction caused by the fertilizer server, because each client must have a link to this thread for processing, Of course, you may not realize this, but I is the prerequisite for the development of parallel processing, the following are my source, because of the dos command-line test, so if GUI prepared for a time when they need to change a lot of things, That is my next target of conquest, of course, I have impatience, Below are three I spent the evening studying and preparing the nonobstructive Chat Room : (for the exchange to study)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.