From 81d28d4e7de3026f84930158c7cc7f1e77fcb699 Mon Sep 17 00:00:00 2001 From: wxzz <504547114@qq.com> Date: Tue, 5 Apr 2016 16:59:18 +0800 Subject: [PATCH 1/7] 1.1 --- ServerSuperIO.v11.suo | Bin 409600 -> 378880 bytes ServerSuperIO/Common/SocketExtension.cs | 25 +- .../Communicate/NET/ISocketListener.cs | 3 +- .../Communicate/NET/ISocketSession.cs | 9 +- .../Communicate/NET/SocketController.cs | 12 +- .../Communicate/NET/SocketListenerBase.cs | 3 +- ServerSuperIO/Communicate/NET/SocketMode.cs | 13 + .../Communicate/NET/SocketSession.cs | 459 +++--------------- .../Communicate/NET/TcpSocketListener.cs | 3 +- .../Communicate/NET/TcpSocketSession.cs | 353 ++++++++++++++ .../Communicate/NET/UdpSocketListener.cs | 121 +++++ .../Communicate/NET/UdpSocketSession.cs | 123 +++++ ServerSuperIO/Config/Config.cs | 4 + ServerSuperIO/Config/IConfig.cs | 6 + ServerSuperIO/Device/RunDevice.cs | 4 +- ServerSuperIO/Properties/AssemblyInfo.cs | 4 +- ServerSuperIO/Server/Server.cs | 53 +- ServerSuperIO/ServerSuperIO.csproj | 8 + ServerSuperIO/obj/Debug/ServerSuperIO.dll | Bin 109568 -> 112640 bytes ServerSuperIO/obj/Debug/ServerSuperIO.pdb | Bin 271872 -> 286208 bytes TestDeviceDriver/DeviceDriver.cs | 2 + ...river.csprojResolveAssemblyReference.cache | Bin 10318 -> 10318 bytes .../obj/Debug/TestDeviceDriver.dll | Bin 12288 -> 12288 bytes .../obj/Debug/TestDeviceDriver.pdb | Bin 52736 -> 52736 bytes ...stLog.csprojResolveAssemblyReference.cache | Bin 16595 -> 16595 bytes TestLog/obj/Debug/build.force | 0 TestLoopMain/Program.cs | 4 +- TestLoopMain/TestLoopMain.csproj.user | 6 + ...pMain.csprojResolveAssemblyReference.cache | Bin 19596 -> 19566 bytes TestLoopMain/obj/Debug/TestLoopMain.exe | Bin 7680 -> 7680 bytes TestLoopMain/obj/Debug/TestLoopMain.pdb | Bin 15872 -> 15872 bytes ...lMain.csprojResolveAssemblyReference.cache | Bin 19596 -> 19596 bytes TestParallelMain/obj/Debug/build.force | 0 ...fMain.csprojResolveAssemblyReference.cache | Bin 21422 -> 21422 bytes TestSelfMain/obj/Debug/build.force | 0 ...rvice.csprojResolveAssemblyReference.cache | Bin 10318 -> 10318 bytes TestService/obj/Debug/TestService.dll | Bin 5120 -> 5120 bytes TestService/obj/Debug/TestService.pdb | Bin 13824 -> 13824 bytes ...wForm.csprojResolveAssemblyReference.cache | Bin 10318 -> 10318 bytes TestShowForm/obj/Debug/TestShowForm.dll | Bin 7168 -> 7168 bytes TestShowForm/obj/Debug/TestShowForm.pdb | Bin 19968 -> 19968 bytes ...nMain.csprojResolveAssemblyReference.cache | Bin 19596 -> 19556 bytes .../obj/Debug/TestSingletonMain.exe | Bin 7680 -> 7680 bytes .../obj/Debug/TestSingletonMain.pdb | Bin 15872 -> 15872 bytes TestTcpListener/Program.cs | 1 + ...tener.csprojResolveAssemblyReference.cache | Bin 16595 -> 16595 bytes TestTcpListener/obj/Debug/TestTcpListener.exe | Bin 6144 -> 6144 bytes TestTcpListener/obj/Debug/TestTcpListener.pdb | Bin 13824 -> 13824 bytes bin/ServerSuperIO.dll | Bin 0 -> 112640 bytes bin/ServerSuperIO.pdb | Bin 0 -> 286208 bytes bin/TestDeviceDriver.dll | Bin 0 -> 12288 bytes bin/TestDeviceDriver.pdb | Bin 0 -> 52736 bytes bin/TestLoopMain.exe | Bin 0 -> 7680 bytes bin/TestLoopMain.exe.config | 6 + bin/TestLoopMain.pdb | Bin 0 -> 15872 bytes bin/TestLoopMain.vshost.exe | Bin 0 -> 22984 bytes bin/TestLoopMain.vshost.exe.config | 6 + bin/TestLoopMain.vshost.exe.manifest | 11 + bin/TestService.dll | Bin 0 -> 5120 bytes bin/TestService.pdb | Bin 0 -> 13824 bytes bin/TestShowForm.dll | Bin 0 -> 7168 bytes bin/TestShowForm.pdb | Bin 0 -> 19968 bytes bin/TestSingletonMain.exe | Bin 0 -> 7680 bytes bin/TestSingletonMain.exe.config | 6 + bin/TestSingletonMain.pdb | Bin 0 -> 15872 bytes bin/TestSingletonMain.vshost.exe | Bin 0 -> 22984 bytes bin/TestSingletonMain.vshost.exe.config | 6 + bin/TestSingletonMain.vshost.exe.manifest | 11 + bin/TestTcpListener.exe | Bin 0 -> 6144 bytes bin/TestTcpListener.exe.config | 6 + bin/TestTcpListener.pdb | Bin 0 -> 13824 bytes bin/TestTcpListener.vshost.exe | Bin 0 -> 22984 bytes bin/TestTcpListener.vshost.exe.config | 6 + bin/TestTcpListener.vshost.exe.manifest | 11 + .../2016-04-01_myserver_INFO.txt" | 66 +++ ...-04-01_\346\234\215\345\212\2411_INFO.txt" | 7 + .../2016-04-05_myserver_ERROR.txt" | 10 + .../2016-04-05_myserver_INFO.txt" | 42 ++ ...-04-05_\346\234\215\345\212\2411_INFO.txt" | 85 ++++ 79 files changed, 1079 insertions(+), 416 deletions(-) create mode 100644 ServerSuperIO/Communicate/NET/SocketMode.cs create mode 100644 ServerSuperIO/Communicate/NET/TcpSocketSession.cs create mode 100644 ServerSuperIO/Communicate/NET/UdpSocketListener.cs create mode 100644 ServerSuperIO/Communicate/NET/UdpSocketSession.cs create mode 100644 TestLog/obj/Debug/build.force create mode 100644 TestLoopMain/TestLoopMain.csproj.user create mode 100644 TestParallelMain/obj/Debug/build.force create mode 100644 TestSelfMain/obj/Debug/build.force create mode 100644 bin/ServerSuperIO.dll create mode 100644 bin/ServerSuperIO.pdb create mode 100644 bin/TestDeviceDriver.dll create mode 100644 bin/TestDeviceDriver.pdb create mode 100644 bin/TestLoopMain.exe create mode 100644 bin/TestLoopMain.exe.config create mode 100644 bin/TestLoopMain.pdb create mode 100644 bin/TestLoopMain.vshost.exe create mode 100644 bin/TestLoopMain.vshost.exe.config create mode 100644 bin/TestLoopMain.vshost.exe.manifest create mode 100644 bin/TestService.dll create mode 100644 bin/TestService.pdb create mode 100644 bin/TestShowForm.dll create mode 100644 bin/TestShowForm.pdb create mode 100644 bin/TestSingletonMain.exe create mode 100644 bin/TestSingletonMain.exe.config create mode 100644 bin/TestSingletonMain.pdb create mode 100644 bin/TestSingletonMain.vshost.exe create mode 100644 bin/TestSingletonMain.vshost.exe.config create mode 100644 bin/TestSingletonMain.vshost.exe.manifest create mode 100644 bin/TestTcpListener.exe create mode 100644 bin/TestTcpListener.exe.config create mode 100644 bin/TestTcpListener.pdb create mode 100644 bin/TestTcpListener.vshost.exe create mode 100644 bin/TestTcpListener.vshost.exe.config create mode 100644 bin/TestTcpListener.vshost.exe.manifest create mode 100644 "bin/\346\227\245\345\277\227\344\277\241\346\201\257/2016-04-01_myserver_INFO.txt" create mode 100644 "bin/\346\227\245\345\277\227\344\277\241\346\201\257/2016-04-01_\346\234\215\345\212\2411_INFO.txt" create mode 100644 "bin/\346\227\245\345\277\227\344\277\241\346\201\257/2016-04-05_myserver_ERROR.txt" create mode 100644 "bin/\346\227\245\345\277\227\344\277\241\346\201\257/2016-04-05_myserver_INFO.txt" create mode 100644 "bin/\346\227\245\345\277\227\344\277\241\346\201\257/2016-04-05_\346\234\215\345\212\2411_INFO.txt" diff --git a/ServerSuperIO.v11.suo b/ServerSuperIO.v11.suo index 20e3952cf49f63fde5f1e7cfbc08b2a0ba3e96e4..ceecabb7c9e6c9fd6279ebe3369f455c6a3f0010 100644 GIT binary patch delta 16507 zcmeHu3w%w-+V`HdXLfcXiJhxRgPqtS2_iHI)z~D|trC}_1PRiLON4B
^xq`sNfL6dVU^1{2m;fA9Os416v%%U5
zcXhckJvhZ;`6Oz26?+6}ZdEN&N|Y;1{aLvj5{@FQh?Q4&;I|dC!b->BCKQMOl7Xo}
zbD#sz7w`iX0!@J+pe+y&OaVFpcAyWC3M2pyARKrI=nVJ+zo7}O5vBk|KpJ2H=9x^T
zrX<`10&Rfy!0iC?Ux`E55(okA1O@`P0+B#8&;*dW8H!NmPeeEf$OL)=w*fM~E5a}!
z7#ILV0sVlEKr_^D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