esegece.sgcWebSockets 2026.3.0

dotnet add package esegece.sgcWebSockets --version 2026.3.0
                    
NuGet\Install-Package esegece.sgcWebSockets -Version 2026.3.0
                    
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="esegece.sgcWebSockets" Version="2026.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="esegece.sgcWebSockets" Version="2026.3.0" />
                    
Directory.Packages.props
<PackageReference Include="esegece.sgcWebSockets" />
                    
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 esegece.sgcWebSockets --version 2026.3.0
                    
#r "nuget: esegece.sgcWebSockets, 2026.3.0"
                    
#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.
#:package esegece.sgcWebSockets@2026.3.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=esegece.sgcWebSockets&version=2026.3.0
                    
Install as a Cake Addin
#tool nuget:?package=esegece.sgcWebSockets&version=2026.3.0
                    
Install as a Cake Tool

sgcWebSockets for .NET

The most comprehensive real-time communication library for .NET — WebSockets, HTTP/2, AI/LLM, IoT, WebRTC, and 30+ API integrations in a single, battle-tested package.

Build powerful real-time applications with sgcWebSockets: from high-performance WebSocket servers to AI-powered assistants, crypto trading bots, IoT pipelines, and peer-to-peer video — all from one unified .NET library.

Supported Platforms

Framework Versions
.NET Framework 2.0, 3.5, 4.0, 4.5
.NET 5.0, 6.0, 7.0, 8.0, 9.0
.NET Standard 1.6, 2.0
.NET Core 1.0, 2.0, 3.0

OS Support: Windows 32/64, Linux 64, macOS 64


Core Features

WebSocket Server & Client

  • Fully RFC 6455-compliant multithreaded WebSocket server with proven scalability.
  • IOCP (I/O Completion Ports) support for high-throughput scenarios, plus the traditional one-thread-per-connection model.
  • PerMessage-Deflate compression (RFC 7692) to reduce bandwidth usage.
  • Text and binary message support with built-in message queuing.
  • Server-Sent Events (SSE) — push notifications over HTTP for lightweight streaming.
  • WatchDog and HeartBeat keep connections alive and automatically reconnect on failure.
  • HTTP Proxy and SOCKS Proxy support for client connections.
  • Serve WebSocket and HTTP traffic on the same port — no extra infrastructure needed.
  • Built-in JavaScript libraries for browser-based clients.

Security & Authentication

  • SSL/TLS with OpenSSL 1.1.1 and 3.0 support for both server and client.
  • SChannel (Windows native TLS) — no external dependencies required on Windows.
  • Server and client authentication: Basic, Session, Token, and URL-based.
  • OAuth 2.0 authorization for server and client.
  • JWT (JSON Web Tokens) — issue, validate, and manage tokens with HS, RS, and ES algorithms.
  • End-to-End Encryption (E2EE) protocol for zero-knowledge messaging.
  • WebAuthn / FIDO2 server API for passwordless authentication.

HTTP/2

  • Full-featured HTTP/2 client with multiplexed streams, header compression, and server push.
  • HTTP/2-capable server with alternate service advertisement.

AI & LLM Integrations

Build intelligent applications with native support for the leading AI platforms:

  • OpenAI — Chat Completions, Embeddings, Image Generation, and Assistants API. Full streaming support.
  • Anthropic Claude — Messages API with streaming, tool use, and vision capabilities.
  • MCP (Model Context Protocol) Server — Host your own MCP server to expose tools, resources, and prompts to AI agents. Supports HTTP and Streamable HTTP transports with API key and custom header authentication.

Messaging Protocols

Enterprise-grade messaging with support for the most widely adopted protocols:

  • MQTT 3.1.1 & 5.0 — Lightweight pub/sub messaging for IoT and mobile. Full QoS support, Last Will & Testament, and MQTT 5.0 properties.
  • AMQP 0-9-1 & AMQP 1.0 — Advanced message queuing for enterprise integration.
  • STOMP — Simple text-based messaging with dedicated ActiveMQ and RabbitMQ connectors.
  • WAMP & WAMP2 — Web Application Messaging Protocol for RPC and pub/sub patterns.
  • Socket.IO — Real-time bidirectional event-based communication.
  • SignalR & SignalR Core — Microsoft's real-time framework with bearer token and cookie authentication.

Crypto & Financial Exchange APIs

Connect to 20+ cryptocurrency and financial exchanges with both REST and WebSocket APIs — real-time market data, order management, and account streaming:

Exchange REST WebSocket Futures
Binance Yes Yes Yes
Kraken Yes Yes Yes
KuCoin Yes Yes Yes
Bybit Yes Yes
OKX Yes
MEXC Yes Yes Yes
Bitget Yes Yes
Coinbase Yes Yes
Deribit Yes Yes
Crypto.com Yes Yes
HTX (Huobi) Yes Yes Yes
Gate.io Yes
Bitmex Yes Yes
Bitstamp Yes Yes
CEX.IO Yes
CEX.IO Plus Yes
FXCM Yes
XTB Yes
3Commas Yes Yes

IoT & Cloud

Seamlessly connect devices to the leading cloud IoT platforms:

  • AWS IoT Core — MQTT-based device communication with certificate, custom authentication, and Signature V4 support.
  • Azure IoT Hub — Device-to-cloud messaging with certificate and SAS token authentication.
  • Google Cloud Platform — Calendar API, Firebase Cloud Messaging (FCM), and Pub/Sub integration with JWT and OAuth 2.0.
  • AWS SQS — Simple Queue Service for decoupled messaging architectures.

WebRTC & Peer-to-Peer

Build real-time audio, video, and data channel applications:

  • STUN client and server — NAT traversal with short-term and long-term credential authentication.
  • TURN client and server — relay-based connectivity with allocation management, channel binding, and auto-refresh.
  • WebRTC signaling server — ready-to-use signaling for peer-to-peer connections.
  • AppRTC — Google-compatible WebRTC server with configurable media constraints.
  • RTCMultiConnection — multi-user video conferencing server with customizable video resolution options.

Social & Messaging Platforms

  • Telegram — Full-featured Telegram client via TDLib: send and receive text, photos, videos, documents, inline keyboards, and payments.
  • WhatsApp Business — Cloud API client with webhook support for automated messaging.
  • Discord — Bot integration via WebSocket gateway.

Additional Protocols & Features

  • WebPush — Send push notifications to browsers with VAPID authentication (PEM and DER key formats).
  • Files Transfer Protocol — Reliable file transfer over WebSocket with QoS and synchronization.
  • Presence Protocol — Track online/offline user status with acknowledgment support.
  • Broker & Load Balancer — Distribute WebSocket connections across multiple server instances.
  • RCON — Remote console protocol for game server administration.
  • HTTP Forward — Forward HTTP requests through WebSocket server infrastructure.

QuickStart

WebSocket Server

// 1. Create a new Windows Forms Application
// 2. Drop a TsgcWebSocketServer onto the Form
// 3. Handle the OnMessage event:

private void OnMessage(TsgcWSConnection Connection, string Text)
{
    MessageBox.Show("Message Received: " + Text);
}

// 4. Start the server:
TsgcWebSocketServer1.Active = true;

WebSocket Client

// 1. Create a new Windows Forms Application
// 2. Drop a TsgcWebSocketClient onto the Form
// 3. Configure Host and Port properties

// Connect:
TsgcWebSocketClient1.Active = true;

// Send a message:
TsgcWebSocketClient1.WriteData("Hello Server!");

More Information

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 is compatible.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net20 is compatible.  net35 is compatible.  net40 is compatible.  net403 was computed.  net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.0

    • No dependencies.
  • .NETFramework 2.0

    • No dependencies.
  • .NETFramework 3.5

    • No dependencies.
  • .NETFramework 4.0

    • No dependencies.
  • .NETFramework 4.5

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.
  • net5.0

    • No dependencies.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.
  • net8.0

    • No dependencies.
  • net9.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2026.3.0 106 3/17/2026
2026.2.0 108 2/19/2026
2026.1.0 134 1/16/2026
2025.10.0 349 11/14/2025
2025.9.0 236 10/17/2025
2025.8.0 250 9/12/2025
2025.6.0 349 6/23/2025
2025.5.0 328 5/23/2025
2025.4.0 410 4/23/2025
2025.3.0 373 3/19/2025
2025.2.0 344 3/19/2025
2024.10.0 419 11/25/2024
2024.9.0 396 10/25/2024
2024.8.0 341 9/22/2024
2024.7.0 424 8/25/2024
2024.6.0 382 6/22/2024
2024.5.0 380 5/17/2024
2024.4.0 413 4/20/2024
2024.3.0 417 3/26/2024
2024.2.0 363 2/24/2024
Loading failed