![]() |
VOOZH | about |
dotnet add package SuperSocket.ProtoBase --version 2.1.0
NuGet\Install-Package SuperSocket.ProtoBase -Version 2.1.0
<PackageReference Include="SuperSocket.ProtoBase" Version="2.1.0" />
<PackageVersion Include="SuperSocket.ProtoBase" Version="2.1.0" />Directory.Packages.props
<PackageReference Include="SuperSocket.ProtoBase" />Project file
paket add SuperSocket.ProtoBase --version 2.1.0
#r "nuget: SuperSocket.ProtoBase, 2.1.0"
#:package SuperSocket.ProtoBase@2.1.0
#addin nuget:?package=SuperSocket.ProtoBase&version=2.1.0Install as a Cake Addin
#tool nuget:?package=SuperSocket.ProtoBase&version=2.1.0Install as a Cake Tool
SuperSocket 2.1.0 is a significant update that introduces groundbreaking Model Context Protocol (MCP) support, advanced HTTP capabilities with Keep-Alive and Server-Sent Events (SSE), and .NET 10 compatibility. This release expands SuperSocket's use cases into AI agent communication, real-time web applications, and modern cloud-native scenarios while enhancing client flexibility and multi-server hosting capabilities.
SuperSocket now provides comprehensive support for the Model Context Protocol (MCP), enabling seamless integration with AI agents and language models.
Four comprehensive MCP samples demonstrating different use cases:
McpServer: Basic TCP/WebSocket MCP serverMcpHttpServer: HTTP-based MCP with SSE supportMcpStdioServer: Standard I/O MCP for local agentsMcpWebSocketServer: Dedicated WebSocket MCP implementationEnhanced HTTP capabilities for building modern web applications and real-time communication.
KeepAlive property for enabling/disabling persistent connectionsLocalEndPoint property for client-side endpoint bindingNoDelay enabled by default for improved low-latency scenariosConfigureSocket method for custom socket configurationserverOptions by nameIWebSocketCommandMiddleware interface for custom middlewareTestMultipleServerHostKeepAlive=falseNone - This release maintains full backward compatibility with v2.0.2
No migration steps required. Upgrading from v2.0.2 to v2.1.0 is seamless.
SuperSocket.MCP packageKeepAlive = true in HTTP request/response handlingSseSessionExtensions for event streaming// Bind to specific local endpoint
var connector = new SocketConnector(new IPEndPoint(IPAddress.Any, 0));
// Or customize socket configuration
public class CustomConnector : SocketConnector
{
protected override void ConfigureSocket(Socket socket)
{
base.ConfigureSocket(socket);
// Add custom socket options
}
}
All SuperSocket 2.1.0 packages are available on NuGet:
Future releases will continue to enhance MCP capabilities, add more protocol support, and improve performance. Stay tuned for:
Special thanks to all contributors who made this release possible, especially:
Released: April 2026
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 is compatible. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-android35.0 net9.0-android35.0 is compatible. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-ios18.0 net9.0-ios18.0 is compatible. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-macos15.0 net9.0-macos15.0 is compatible. net9.0-tvos net9.0-tvos was computed. net9.0-tvos18.0 net9.0-tvos18.0 is compatible. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-android36.0 net10.0-android36.0 is compatible. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-ios26.0 net10.0-ios26.0 is compatible. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-macos26.0 net10.0-macos26.0 is compatible. net10.0-tvos net10.0-tvos was computed. net10.0-tvos26.0 net10.0-tvos26.0 is compatible. net10.0-windows net10.0-windows was computed. |
Showing the top 5 NuGet packages that depend on SuperSocket.ProtoBase:
| Package | Downloads |
|---|---|
|
SuperSocket.ClientEngine
It's a .NET socket tool which can simplify the socket client developing |
|
|
SuperSocket.WebSocket
SuperSocket WebSocket protocol implementation providing frame parsing, message handling, and standards-compliant WebSocket protocol support (RFC 6455) for real-time bidirectional communication. |
|
|
SuperSocket.Channel
SuperSocket library to abstract underlying communications as channel with pipeline. |
|
|
SuperSocket.Primitives
SuperSocket core primitive interfaces and classes that define the fundamental abstractions for network communication, session management, and message handling. |
|
|
SuperSocket.Server
SuperSocket server hosting library providing the core server implementation with session management, connection handling, and integration with the .NET dependency injection system and configuration framework. |
Showing the top 3 popular GitHub repositories that depend on SuperSocket.ProtoBase:
| Repository | Stars |
|---|---|
|
microsurging/surging
Surging is a micro-service engine that provides a lightweight, high-performance, modular RPC request pipeline. support Event-based Asynchronous Pattern and reactive programming.
|
|
|
kerryjiang/SuperSocket.ClientEngine
A .NET library which can make your socket client development easier
|
|
|
jianjipan/MES
这是一个用C#写的MES系统 ,用到了supersocket通信框架,以及WPF技术
|
| Version | Downloads | Last Updated |
|---|---|---|
| 2.1.0 | 3,669 | 4/5/2026 |
| 2.0.2 | 21,062 | 7/10/2025 |
| 2.0.2-beta.1 | 465 | 5/25/2025 |
| 2.0.1 | 7,063 | 5/24/2025 |
| 2.0.0 | 2,982 | 4/20/2025 |
| 2.0.0-beta.31 | 2,773 | 4/2/2025 |
| 2.0.0-beta.30 | 1,355 | 1/26/2025 |
| 2.0.0-beta.28 | 2,550 | 11/2/2024 |
| 2.0.0-beta.27 | 5,820 | 9/30/2024 |
| 2.0.0-beta.26 | 3,493 | 8/31/2024 |
| 2.0.0-beta.25 | 827 | 8/21/2024 |
| 2.0.0-beta.24 | 2,033 | 6/29/2024 |
| 2.0.0-beta.23 | 1,804 | 6/1/2024 |
| 2.0.0-beta.22 | 1,969 | 5/25/2024 |
| 2.0.0-beta.21 | 1,002 | 5/4/2024 |
| 2.0.0-beta.20.448 | 1,749 | 4/14/2024 |
| 2.0.0-beta.18 | 14,927 | 8/30/2023 |
| 2.0.0-beta.17 | 4,684 | 6/4/2023 |
| 2.0.0-beta.16 | 1,257 | 5/10/2023 |