kerryjiang/SuperSocket

SuperSocket is a high-performance, extensible socket server application framework for .NET. It provides a robust architecture for building custom network communication applications with support for multiple protocols including TCP, UDP, and WebSocket.

C#

4,236

3,730 commits

updated Oct 3, 2026

See the code

README

SuperSocket

Build NuGet Version NuGet Badge

SuperSocket is a high-performance, extensible socket server application framework for .NET. It provides a robust architecture for building custom network communication applications with support for multiple protocols including TCP, UDP, and WebSocket.

Key features of SuperSocket include:

  1. Flexible Pipeline Architecture: SuperSocket implements a pipeline-based processing model that allows for efficient handling of incoming data with customizable filters.

  2. Protocol Abstraction: The framework abstracts away low-level socket operations and provides a clean interface for implementing various protocols through pipeline filters. It has built-in support for TCP, UDP, WebSocket, and even custom protocols.

  3. Middleware Support: Extensible middleware system allowing for custom processing of connections and packages.

  4. Session Management: SuperSocket provides comprehensive session handling capabilities, managing connection lifecycles from establishment to termination.

  5. Command Handling System: Command-based processing model to handle client requests efficiently.

  6. WebSocket Support: Full implementation of the WebSocket protocol with extensions like compression.

  7. Modern .NET Integration: SuperSocket is built for modern .NET and integrates seamlessly with the dependency injection, configuration, and logging facilities in the .NET ecosystem.

  8. Cross-Platform: As a .NET library, SuperSocket works across platforms supported by .NET.

  9. Client Support: The framework includes client components for establishing connections to socket servers, including proxy capabilities.

  10. High Performance: SuperSocket is designed for high throughput and low latency with efficient memory usage through buffer pooling and minimal allocations

SuperSocket is suitable for a wide range of applications including:

  • Real-time communication systems
  • IoT device connectivity
  • Game servers
  • Chat applications
  • and any scenario requiring custom network protocols

Nuget Packages
PackageMyGet Beta ReleaseNuGet Stable Release
SuperSocket.ProtoBaseMyGet VersionNuGet Version
SuperSocket.PrimitivesMyGet VersionNuGet Version
SuperSocket.ConnectionMyGet VersionNuGet Version
SuperSocket.KestrelMyGet VersionNuGet Version
SuperSocket.ServerMyGet VersionNuGet Version
SuperSocket.Server.AbstractionsMyGet VersionNuGet Version
SuperSocket.CommandMyGet VersionNuGet Version
SuperSocket.ClientMyGet VersionNuGet Version
SuperSocket.Client.ProxyMyGet VersionNuGet Version
SuperSocket.WebSocketMyGet VersionNuGet Version
SuperSocket.WebSocket.ServerMyGet VersionNuGet Version
SuperSocket.UdpMyGet VersionNuGet Version
SuperSocket.SerialIOMyGet VersionNuGet Version
SuperSocket.ProtoBufMyGet VersionNuGet Version
SuperSocket.MessagePackMyGet VersionNuGet Version

Nightly build packages: https://www.myget.org/F/supersocket/api/v3/index.json


SuperSocket 2.0 Roadmap:

  • 2025:
    • More documents
    • Performance test/tuning
    • Fix issues of the existing features
    • Other features requested by users
csharp
dotnet
network-protocol-decoding
realtime-communication
socket
socketserver
tcp
udp
websocket

kerryjiang/SuperSocket

SuperSocket is a high-performance, extensible socket server application framework for .NET. It provides a robust architecture for building custom network communication applications with support for multiple protocols including TCP, UDP, and WebSocket.

C#

4,236

3,730 commits

updated Oct 3, 2026

See the code

README

SuperSocket

Build NuGet Version NuGet Badge

SuperSocket is a high-performance, extensible socket server application framework for .NET. It provides a robust architecture for building custom network communication applications with support for multiple protocols including TCP, UDP, and WebSocket.

Key features of SuperSocket include:

  1. Flexible Pipeline Architecture: SuperSocket implements a pipeline-based processing model that allows for efficient handling of incoming data with customizable filters.

  2. Protocol Abstraction: The framework abstracts away low-level socket operations and provides a clean interface for implementing various protocols through pipeline filters. It has built-in support for TCP, UDP, WebSocket, and even custom protocols.

  3. Middleware Support: Extensible middleware system allowing for custom processing of connections and packages.

  4. Session Management: SuperSocket provides comprehensive session handling capabilities, managing connection lifecycles from establishment to termination.

  5. Command Handling System: Command-based processing model to handle client requests efficiently.

  6. WebSocket Support: Full implementation of the WebSocket protocol with extensions like compression.

  7. Modern .NET Integration: SuperSocket is built for modern .NET and integrates seamlessly with the dependency injection, configuration, and logging facilities in the .NET ecosystem.

  8. Cross-Platform: As a .NET library, SuperSocket works across platforms supported by .NET.

  9. Client Support: The framework includes client components for establishing connections to socket servers, including proxy capabilities.

  10. High Performance: SuperSocket is designed for high throughput and low latency with efficient memory usage through buffer pooling and minimal allocations

SuperSocket is suitable for a wide range of applications including:

  • Real-time communication systems
  • IoT device connectivity
  • Game servers
  • Chat applications
  • and any scenario requiring custom network protocols

Nuget Packages
PackageMyGet Beta ReleaseNuGet Stable Release
SuperSocket.ProtoBaseMyGet VersionNuGet Version
SuperSocket.PrimitivesMyGet VersionNuGet Version
SuperSocket.ConnectionMyGet VersionNuGet Version
SuperSocket.KestrelMyGet VersionNuGet Version
SuperSocket.ServerMyGet VersionNuGet Version
SuperSocket.Server.AbstractionsMyGet VersionNuGet Version
SuperSocket.CommandMyGet VersionNuGet Version
SuperSocket.ClientMyGet VersionNuGet Version
SuperSocket.Client.ProxyMyGet VersionNuGet Version
SuperSocket.WebSocketMyGet VersionNuGet Version
SuperSocket.WebSocket.ServerMyGet VersionNuGet Version
SuperSocket.UdpMyGet VersionNuGet Version
SuperSocket.SerialIOMyGet VersionNuGet Version
SuperSocket.ProtoBufMyGet VersionNuGet Version
SuperSocket.MessagePackMyGet VersionNuGet Version

Nightly build packages: https://www.myget.org/F/supersocket/api/v3/index.json


SuperSocket 2.0 Roadmap:

  • 2025:
    • More documents
    • Performance test/tuning
    • Fix issues of the existing features
    • Other features requested by users
csharp
dotnet
network-protocol-decoding
realtime-communication
socket
socketserver
tcp
udp
websocket

Project health

Overall

3.6/10

Maintained

4/10

Code review

0/10
OpenSSF Scorecard

Latest release

2.0.2 · Jul 10, 2025

Releases this year

0

Significant stargazers

Inada Naoki

784 followers · starred Feb 2014

Muhammad Azeez

197 followers · starred Mar 2021

Roberto Machorro

37 followers · starred Sep 2020

Damian Day

11 followers · starred May 2022