CSuperSocket.SocketEngine 2.1.2.1

CSuperSocket.SocketEngine

Install-Package CSuperSocket.SocketEngine -Version 2.1.2.1
dotnet add package CSuperSocket.SocketEngine --version 2.1.2.1
<PackageReference Include="CSuperSocket.SocketEngine" Version="2.1.2.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CSuperSocket.SocketEngine --version 2.1.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

将之前的条件编译改成
IServerConfig增加PlatformType(平台配置),代码层面控制平台代码逻辑

将之前的条件编译改成
IServerConfig增加PlatformType(平台配置),代码层面控制平台代码逻辑

Release Notes

IServerConfig增加PlatformType(平台配置),代码层面控制平台代码逻辑
if (config.PlatformType!=PlatformType.Linux)
               {
                     Console.WriteLine("开始进入异常片段 该句在linux下不被支持 m_ListenSocket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.DontLinger, true);");
               m_ListenSocket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.DontLinger, true);
               }

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.1.2.1 2,150 1/23/2018
2.1.2 243 1/23/2018
2.1.0 302 1/8/2018
2.0.1 280 1/8/2018
2.0.0 272 1/5/2018