NET_Source
代码说明:
是LogOutputSocketProtocol的管理对 象;m_uploadSocketProtocolMgr是UploadSocketProtocol的管理对象,用于检测是否同时上传同一个文 件;m_downloadSocketProtocolMgr是DownloadSocketProtocol的管理对象;m_daemonThread 是守护进程,用于关闭超时连接。 2. AsyncSocketUserToken:用于SocketAsyncEventArgs绑定,保存 每个Socket服务对象,包括:m_receiveEventArgs接收数据异步事件;m_asyncReceiveBuffer接收数据异步事件使 用的缓存;m_sendEventArgs发送数据异步事件;m_receiveBuffer接收异步事件返回的数据存放缓存,用于后续的分 包;m_sendBuffer用于保存发送的数据缓存;m_asyncSocketInvokeElement是用于协议调用的基类,主要实现分包,并发 发送的包加到发送列表中,发送完成回调时继续发送下一个包;m_connectSocket是连接的Socket对象。(LogOutputSocketProtocol is the management object; m_uploadSocketProtocolMgr is UploadSocketProtocol management object, designed to detect and upload the same file; m_downloadSocketProtocolMgr is DownloadSocketProtocol management object; m_daemonThread is the guardian of process for closing the connection timeout. 2.: AsyncSocketUserToken for SocketAsyncEventArgs binding, save each Socket service object, including: m_receiveEventArgs receives data asynchronous events; m_asyncReceiveBuffer receive data asynchronous events using m_sendEventArgs to send data cache; asynchronous events; m_receiveBuffer receive asynchronous event data returned by the stored cache for subsequent subcontracting; m_sendBuffer is used to preserve the data sent by the cache; m_asyncSocketInvokeElement is the base class for the agreement calls, the main sub package to send a list of concurrent sending, sending a packet to send the completed callback; m_connectSocket is connected to the Socket object.)
文件列表:
NETIOCPDemo.sln
Lib\log4net.dll
Lib\log4net.xml
NETIOCPSvr\app.config
NETIOCPSvr\AsyncSocketCore\AsyncSendBufferManager.cs
NETIOCPSvr\AsyncSocketCore\AsyncSocketInvokeElement.cs
NETIOCPSvr\AsyncSocketCore\AsyncSocketServer.cs
NETIOCPSvr\AsyncSocketCore\AsyncSocketUserToken.cs
NETIOCPSvr\AsyncSocketCore\AsyncSocketUserTokenPool.cs
NETIOCPSvr\AsyncSocketCore\DaemonThread.cs
NETIOCPSvr\AsyncSocketCore\DynamicBufferManager.cs
NETIOCPSvr\AsyncSocketCore\IncomingDataParser.cs
NETIOCPSvr\AsyncSocketCore\OutgoingDataAssembler.cs
NETIOCPSvr\AsyncSocketProtocol\ControlSocketProtocol.cs
NETIOCPSvr\AsyncSocketProtocol\DownloadSocketProtocol.cs
NETIOCPSvr\AsyncSocketProtocol\LogSocketProtocol.cs
NETIOCPSvr\AsyncSocketProtocol\RemoteStreamSocketProtocol.cs
NETIOCPSvr\AsyncSocketProtocol\ThroughputSocketProtocol.cs
NETIOCPSvr\AsyncSocketProtocol\UploadSocketProtocol.cs
NETIOCPSvr\AsyncSocketProtocolCore\BaseSocketProtocol.cs
NETIOCPSvr\AsyncSocketProtocolCore\ProtocolKey.cs
NETIOCPSvr\AsyncSocketPublic\BasicFunc.cs
NETIOCPSvr\NETIOCPSvr.csproj
NETIOCPSvr\Program.cs
NETIOCPSvr\Properties\AssemblyInfo.cs
SocketAsyncServerAndClient\SocketAsyncServer\AcceptOpUserToken.cs
SocketAsyncServerAndClient\SocketAsyncServer\BufferManager.cs
SocketAsyncServerAndClient\SocketAsyncServer\DataHolder.cs
SocketAsyncServerAndClient\SocketAsyncServer\DataHoldingUserToken.cs
SocketAsyncServerAndClient\SocketAsyncServer\IncomingDataPreparer.cs
SocketAsyncServerAndClient\SocketAsyncServer\Mediator.cs
SocketAsyncServerAndClient\SocketAsyncServer\MessageHandler.cs
SocketAsyncServerAndClient\SocketAsyncServer\OutgoingDataPreparer.cs
SocketAsyncServerAndClient\SocketAsyncServer\PrefixHandler.cs
SocketAsyncServerAndClient\SocketAsyncServer\Program.cs
SocketAsyncServerAndClient\SocketAsyncServer\Properties\AssemblyInfo.cs
SocketAsyncServerAndClient\SocketAsyncServer\SocketAsyncEventArgsPool.cs
SocketAsyncServerAndClient\SocketAsyncServer\SocketAsyncServer.csproj
SocketAsyncServerAndClient\SocketAsyncServer\SocketListener.cs
SocketAsyncServerAndClient\SocketAsyncServer\SocketListenerSettings.cs
SocketAsyncServerAndClient\SocketAsyncServer\TestFileWriter.cs
SocketAsyncServerAndClient\SocketClientAsyncTester\BlockingStack.cs
SocketAsyncServerAndClient\SocketClientAsyncTester\BufferManager.cs
SocketAsyncServerAndClient\SocketClientAsyncTester\ConfigFileHandler.cs
SocketAsyncServerAndClient\SocketClientAsyncTester\ConnectOpUserToken.cs
SocketAsyncServerAndClient\SocketClientAsyncTester\DataHolder.cs
SocketAsyncServerAndClient\SocketClientAsyncTester\DataHoldingUserToken.cs
SocketAsyncServerAndClient\SocketClientAsyncTester\HostFinder.cs
SocketAsyncServerAndClient\SocketClientAsyncTester\MessageArrayController.cs
SocketAsyncServerAndClient\SocketClientAsyncTester\MessageHandler.cs
SocketAsyncServerAndClient\SocketClientAsyncTester\MessagePreparer.cs
SocketAsyncServerAndClient\SocketClientAsyncTester\OutgoingMessageHolder.cs
SocketAsyncServerAndClient\SocketClientAsyncTester\PrefixHandler.cs
SocketAsyncServerAndClient\SocketClientAsyncTester\Program.cs
SocketAsyncServerAndClient\SocketClientAsyncTester\Properties\AssemblyInfo.cs
SocketAsyncServerAndClient\SocketClientAsyncTester\SocketAsyncEventArgsPool.cs
SocketAsyncServerAndClient\SocketClientAsyncTester\SocketClient.cs
SocketAsyncServerAndClient\SocketClientAsyncTester\SocketClientAsyncTester.csproj
SocketAsyncServerAndClient\SocketClientAsyncTester\SocketClientSettings.cs
SocketAsyncServerAndClient\SocketClientAsyncTester\TestFileWriter.cs
SocketAsyncServerAndClient\SocketAsyncServer\Properties
SocketAsyncServerAndClient\SocketClientAsyncTester\Properties
NETIOCPSvr\AsyncSocketCore
NETIOCPSvr\AsyncSocketProtocol
NETIOCPSvr\AsyncSocketProtocolCore
NETIOCPSvr\AsyncSocketPublic
NETIOCPSvr\Properties
SocketAsyncServerAndClient\SocketAsyncServer
SocketAsyncServerAndClient\SocketClientAsyncTester
Lib
NETIOCPSvr
SocketAsyncServerAndClient
下载说明:请别用迅雷下载,失败请重下,重下不扣分!