SocketsComm 1.0.0
dotnet add package SocketsComm --version 1.0.0
NuGet\Install-Package SocketsComm -Version 1.0.0
<PackageReference Include="SocketsComm" Version="1.0.0" />
<PackageVersion Include="SocketsComm" Version="1.0.0" />
<PackageReference Include="SocketsComm" />
paket add SocketsComm --version 1.0.0
#r "nuget: SocketsComm, 1.0.0"
#:package SocketsComm@1.0.0
#addin nuget:?package=SocketsComm&version=1.0.0
#tool nuget:?package=SocketsComm&version=1.0.0
SocketsComm
High-performance, zero-allocation .NET networking library with TCP (framed messaging, file transfer, SSL/TLS, heartbeat, auto-reconnect) and UDP (Listener, Peer, Broadcast). Built-in structured logging, real-time metrics, and GZip compression.
Key Features
- Zero-Allocation I/O — ArrayPool-based receive/send loops eliminate GC pressure under high throughput
- TCP Framed Protocol — Length-prefixed messaging guaranteeing message integrity with async event-driven architecture
- File Transfer Engine — Automatic chunking, optional GZip compression, configurable timeouts, progress events, and filename sanitization (path traversal protection)
- SSL/TLS Security — Full certificate validation with configurable token-based authentication handshake
- Heartbeat & Auto-Reconnect — Active Ping/Pong dead-connection detection and automatic client reconnection
- Fault-Tolerant Broadcast — One slow client never blocks others
- UDP Support — High-performance Listener and Peer with broadcast and ephemeral port support
- Structured Logging — Pluggable
ISocketLoggerinterface (Trace/Info/Warning/Error) with built-in Debug, Console, and No-op implementations. Compatible with NLog, Serilog, or any custom framework - Real-Time Metrics — Atomic counters (bytes/messages sent/received) queryable from any thread with zero overhead
- Async Server Shutdown —
StopServerAsync()prevents deadlocks in WinForms/WPF contexts
Targets
.NET 6.0 / 7.0 / 8.0 / 9.0 / 10.0 | .NET Standard 2.1+
Tags
tcp udp sockets networking async file-transfer ssl tls heartbeat reconnect high-performance zero-allocation compression logging
Documentation
Full guides with VB.NET and C# examples are available in the GitHub repository.
Development by SysProfile SRL
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.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 |
|---|---|---|
| 1.0.0 | 115 | 3/1/2026 |