Description: 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.
- [Qtthreads] - Based on Qt as a C++ The cross-platform
- [ppt] - 2410 terminal for use in a ppt file to p
- [Exp20UDP] - UDP communication source code, this prog
- [MSP430_CO_Alarm] - MSP430-based CO alarm design. Have a har
- [videoPlayer.tar] - Qt-based Linux platform video player. Su
File list (Check if you may need any files):
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