SuperSocket.WebSocket 2.0.1

dotnet add package SuperSocket.WebSocket --version 2.0.1
                    
NuGet\Install-Package SuperSocket.WebSocket -Version 2.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SuperSocket.WebSocket" Version="2.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SuperSocket.WebSocket" Version="2.0.1" />
                    
Directory.Packages.props
<PackageReference Include="SuperSocket.WebSocket" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SuperSocket.WebSocket --version 2.0.1
                    
#r "nuget: SuperSocket.WebSocket, 2.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=SuperSocket.WebSocket&version=2.0.1
                    
Install SuperSocket.WebSocket as a Cake Addin
#tool nuget:?package=SuperSocket.WebSocket&version=2.0.1
                    
Install SuperSocket.WebSocket as a Cake Tool

Release Note: SuperSocket 2.0.1

Overview

SuperSocket 2.0.1 is a maintenance release that addresses several stability issues, improves performance, enhances dependency injection support, and adds more comprehensive documentation through XML comments.

Key Improvements

Stability and Bug Fixes

  • Fixed the middleware session handling for proper session rejection (#796)
  • Resolved several issues with SocketSender that were causing ArgumentOutOfRangeException (#794, #65af03d)
  • Used pipe scheduler to run continuation actions in SocketSender for better reliability (#798)
  • Fixed order-dependent issue with UseInProcSessionContainer() which now correctly works when not placed last in the fluent configuration chain (#788)
  • Default to IPv4 for unsigned address family to ensure consistent behavior (193e8365)

Performance Improvements

  • Added ConfigureAwait for SendAsync to avoid context switching and improve performance (#792)
  • Various socket handling optimizations (1f701b1b)

Enhanced Dependency Injection

  • Modified pipeline filter constructor to allow dependency injection, improving flexibility when creating custom filters (#797)
  • Fixed issue where application builder (not web application builder) could not be used as SuperSocket application builder (c5d66c45)

Developer Experience

  • Added .editorconfig for consistent coding style across the project (#791)
  • Added comprehensive XML comments to improve API documentation (0ba13d2a, 63c67115, 6290d9ee)
  • Exposed StartReceive method as protected to allow more customization in derived classes (4e18f714)
  • Added release notes in NuGet packages for better visibility of changes (2daa4415)

Project Structure

  • Removed ProtoBuf from the main repository and moved it to a separate repository (351a4a46)
  • Added new components to the README (d7b7d6d1)
  • Updated project description for clarity (b7e0b1c0)

Testing

  • Added new unit tests to improve code coverage (709bfc10, 14bb328b)

Contributors

  • Kerry Jiang
  • hyabean

Upgrading

This release maintains compatibility with SuperSocket 2.0.0. Users are encouraged to update to this version to benefit from the stability improvements and bug fixes.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on SuperSocket.WebSocket:

Package Downloads
WebSocket4Net

A popular .NET websocket client.

SuperSocket.WebSocket.Server

SuperSocket WebSocket server implementation enabling real-time bidirectional communication with WebSocket protocol support.

MTD.BM.Common

此模块为MTD系统基础模块,包含多个组件

GitHub repositories (5)

Showing the top 5 popular GitHub repositories that depend on SuperSocket.WebSocket:

Repository Stars
kerryjiang/WebSocket4Net
A popular .NET WebSocket Client
Lunat1q/Catchem-PoGo
Project is DEAD, Discord server: https://discord.me/Catchem
brianzhouzc/RocketBot
An automated Pokémon Go Bot
MobBotTeam/PokeMobBot
a Pokemon Go Bot by PokeMobBot Team - Discord: https://discord.gg/8msqsWV | Forums:
Necrobot-Private/NecroBot
NecroBot2
Version Downloads Last updated
2.0.1 358 5/24/2025
2.0.0 627 4/20/2025
2.0.0-beta.31 363 4/2/2025
2.0.0-beta.30 315 1/26/2025
2.0.0-beta.28 626 11/2/2024
2.0.0-beta.27 221 9/30/2024
2.0.0-beta.26 1,653 8/31/2024
2.0.0-beta.25 219 8/21/2024
2.0.0-beta.24 1,142 6/29/2024
2.0.0-beta.23 1,147 6/1/2024
2.0.0-beta.22 1,179 5/25/2024
2.0.0-beta.21 398 5/4/2024
2.0.0-beta.20.448 761 4/14/2024
2.0.0-beta.18 3,319 8/30/2023
2.0.0-beta.17 1,778 6/4/2023
2.0.0-beta.16 331 5/10/2023
2.0.0-beta.15 927 3/5/2023
2.0.0-beta.14 1,569 2/21/2023
2.0.0-beta.13 652 1/17/2023
2.0.0-beta.12 17,941 10/30/2022
2.0.0-beta.11 3,661 5/6/2022
2.0.0-beta.10 21,729 5/29/2021
2.0.0-beta.9 283 5/26/2021
2.0.0-beta.8 9,441 1/23/2021
1.6.6.1 192,728 5/19/2016
1.6.6.1-beta1 1,957 4/6/2016
1.6.6 4,009 3/21/2016
1.6.5 64,835 11/10/2015