文件名称:NamePipe

介绍说明--下载内容均来自于网络,请自行研究使用

做多客户端与服务器端的双向通信,采用QLocalSocket/QLocalServer实现起来简单,但通信效率太低,客户端发数据,服务器端的readyRead信号延时约100ms(看QT源码,发现里面用的是100ms定时器来检测信号),后来自己照着QLocalSocket的思路封装了windows的命名管道,采用多线程来接收数据,在本机上测试通过,通信效率有明显改善。-To do more client and server-side two-way communication, using QLocalSocket/QLocalServer to achieve them simple, but the communication efficiency is too low, the client made the data, the server-side readyRead the signal delay of about 100ms (see QT source code found inside using a 100ms timer device to detect the signal), and later their shining QLocalSocket encapsulates the idea of windows named pipes, using multiple threads to receive data, tested on this machine, the communication efficiency has clearly improved.
(系统自动生成,下载前可以参看下载内容)

下载文件列表

NamePipe

........\bin

........\...\client1.exe

........\...\client1.ilk

........\...\client1.pdb

........\...\client2.exe

........\...\client2.ilk

........\...\client2.pdb

........\...\server.exe

........\...\server.ilk

........\...\server.pdb

........\src

........\...\client1

........\...\.......\client.cpp

........\...\.......\client.h

........\...\.......\client1.ncb

........\...\.......\client1.sln

........\...\.......\client1.vcproj

........\...\.......\client2.ncb

........\...\.......\debug

........\...\.......\.....\client1.ilk

........\...\.......\.....\client1.pdb

........\...\.......\.....\QtCored4.dll

........\...\.......\.....\QtGuid4.dll

........\...\.......\.....\QtNetworkd4.dll

........\...\.......\localfortuneclient.ncb

........\...\.......\localfortuneclient.pro

........\...\.......\localsocket.cpp

........\...\.......\localsocket.h

........\...\.......\main.cpp

........\...\.......\Makefile

........\...\.......\Makefile.Debug

........\...\.......\Makefile.Release

........\...\.......\tmp

........\...\.......\...\moc

........\...\.......\...\...\debug_shared

........\...\.......\...\...\............\moc_client.cpp

........\...\.......\...\...\............\moc_localsocket.cpp

........\...\.......\...\...\release_shared

........\...\.......\...\...\..............\moc_client.cpp

........\...\.......\...\obj

........\...\.......\...\...\debug_shared

........\...\.......\...\...\............\BuildLog.htm

........\...\.......\...\...\............\client.obj

........\...\.......\...\...\............\localsocket.obj

........\...\.......\...\...\............\main.obj

........\...\.......\...\...\............\moc_client.obj

........\...\.......\...\...\............\moc_localsocket.obj

........\...\.......\...\...\release_shared

........\...\.......\...\...\..............\BuildLog.htm

........\...\.......\...\...\..............\client.obj

........\...\.......\...\...\..............\main.obj

........\...\.......\...\...\..............\moc_client.obj

........\...\.......\vc70.idb

........\...\.......\vc70.pdb

........\...\client2

........\...\.......\client.cpp

........\...\.......\client.h

........\...\.......\client1.ncb

........\...\.......\client2.ncb

........\...\.......\client2.sln

........\...\.......\client2.vcproj

........\...\.......\debug

........\...\.......\.....\client1.ilk

........\...\.......\.....\client1.pdb

........\...\.......\.....\QtCored4.dll

........\...\.......\.....\QtGuid4.dll

........\...\.......\.....\QtNetworkd4.dll

........\...\.......\localfortuneclient.ncb

........\...\.......\localfortuneclient.pro

........\...\.......\localsocket.cpp

........\...\.......\localsocket.h

........\...\.......\main.cpp

........\...\.......\Makefile

........\...\.......\Makefile.Debug

........\...\.......\Makefile.Release

........\...\.......\tmp

........\...\.......\...\moc

........\...\.......\...\...\debug_shared

........\...\.......\...\...\............\moc_client.cpp

........\...\.......\...\...\............\moc_localsocket.cpp

........\...\.......\...\...\release_shared

........\...\.......\...\...\..............\moc_client.cpp

........\...\.......\...\obj

........\...\.......\...\...\debug_shared

........\...\.......\...\...\............\BuildLog.htm

........\...\.......\...\...\............\client.obj

........\...\.......\...\...\............\localsocket.obj

........\...\.......\...\...\............\main.obj

........\...\.......\...\...\............\moc_client.obj

........\...\.......\...\...\............\moc_localsocket.obj

........\...\.......\...\...\release_shared

........\...\.......\...\...\..............\BuildLog.htm

........\...\.......\...\...\..............\client.obj

........\...\.......\...\...\..............\main.obj

........\...\.......\...\...\..............\moc_client.obj

........\...\.......\vc70.idb

........\...\.......\vc70.pdb

........\...\localsocket.ncb

........\...\Makefile

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org