NetConduit 2.0.0

This package has a SemVer 2.0.0 package version: 2.0.0+build.20260311230816.95078e2.
dotnet add package NetConduit --version 2.0.0
                    
NuGet\Install-Package NetConduit -Version 2.0.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="NetConduit" Version="2.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NetConduit" Version="2.0.0" />
                    
Directory.Packages.props
<PackageReference Include="NetConduit" />
                    
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 NetConduit --version 2.0.0
                    
#r "nuget: NetConduit, 2.0.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 NetConduit@2.0.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=NetConduit&version=2.0.0
                    
Install as a Cake Addin
#tool nuget:?package=NetConduit&version=2.0.0
                    
Install as a Cake Tool

NetConduit

NuGet License: MIT

Transport-agnostic stream multiplexer for .NET. Creates multiple virtual channels over a single bidirectional stream.

N streams → 1 stream (mux) → N streams (demux)
┌──────────────────────────────────────────────────────────────────────────────┐
│                              Application                                     │
├──────────────────────────────────────────────────────────────────────────────┤
│  Transit Layer (Optional)                                                    │
│  ┌──────────────┐  ┌──────────────┐  ┌──────────────┐  ┌──────────────┐      │
│  │MessageTransit│  │ DeltaTransit │  │ DuplexStream │  │    Stream    │      │
│  └──────────────┘  └──────────────┘  └──────────────┘  └──────────────┘      │
├──────────────────────────────────────────────────────────────────────────────┤
│                              NetConduit                                      │
│  Frame encoding • Channel management • Backpressure • Priority queuing       │
├──────────────────────────────────────────────────────────────────────────────┤
│  Transport: TCP │ WebSocket │ UDP │ IPC │ QUIC │ Any Stream                  │
└──────────────────────────────────────────────────────────────────────────────┘

Features

  • Multiple channels over a single TCP/WebSocket/any stream connection
  • Credit-based backpressure for flow control
  • Priority queuing - higher priority frames sent first
  • Auto-reconnection with channel state restoration
  • Native AOT compatible - no reflection in core
  • Modern .NET - targets .NET 8, 9, and 10

Quick Start

dotnet add package NetConduit       # Core
dotnet add package NetConduit.Tcp   # TCP transport

Optional transports:

dotnet add package NetConduit.WebSocket  # WebSocket
dotnet add package NetConduit.Udp        # UDP with reliability
dotnet add package NetConduit.Ipc        # Named pipes / Unix sockets
dotnet add package NetConduit.Quic       # QUIC (.NET 9+)

Documentation

📖 Full Documentation - Complete guides, API reference, and examples

Guide Description
Getting Started Installation and first steps
Transports TCP, WebSocket, UDP, IPC, QUIC
Transits MessageTransit, DeltaTransit, DuplexStream, Stream
Concepts Channels, backpressure, priority, reconnection
API Reference Configuration options, statistics
Samples Complete example applications

Samples

Sample Description
GroupChat Multi-user chat with MessageTransit (TCP/WebSocket)
FileTransfer Concurrent file transfers with progress
Pong Real-time multiplayer game with DeltaTransit
RemoteShell SSH-like remote command execution
RpcFramework Request/response RPC pattern
TcpTunnel Port forwarding via relay (like ngrok)

License

MIT License - see LICENSE for details.

Product Compatible and additional computed target framework versions.
.NET 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.
  • net8.0

    • No dependencies.
  • net9.0

    • No dependencies.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on NetConduit:

Package Downloads
NetConduit.WebSocket

WebSocket transport helper for NetConduit stream multiplexer. Provides easy WebSocket client/server connection handling with automatic multiplexer setup.

NetConduit.Tcp

TCP transport helper for NetConduit stream multiplexer. Provides easy TCP client/server connection handling with automatic multiplexer setup.

NetConduit.Quic

QUIC transport helper for NetConduit stream multiplexer (System.Net.Quic).

NetConduit.Ipc

Local IPC transport helper for NetConduit (named pipes on Windows, Unix domain sockets elsewhere).

NetConduit.Udp

UDP transport helper for NetConduit stream multiplexer with a minimal reliable stream shim.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.0 161 3/11/2026
1.2.6 17,434 12/6/2025
1.2.4 199 12/6/2025
1.2.3 168 12/5/2025
1.2.2 116 12/5/2025
1.2.1 117 12/5/2025
1.1.3 302 12/5/2025
1.1.2 59 12/4/2025
1.0.1 776 12/4/2025

## New Version
* Bump `net_conduit` from `1.2.4` to `2.0.0`. See [changelog](https://github.com/Kiryuumaru/NetConduit/compare/net_conduit/1.2.4...net_conduit/2.0.0)

## What's Changed
* Add detailed disconnection handling and graceful shutdown by @Kiryuumaru in https://github.com/Kiryuumaru/NetConduit/pull/28
* Bump Microsoft.NET.Test.Sdk from 17.14.0 to 18.0.1 by @dependabot[bot] in https://github.com/Kiryuumaru/NetConduit/pull/31
* Bump coverlet.collector from 6.0.4 to 8.0.0 by @dependabot[bot] in https://github.com/Kiryuumaru/NetConduit/pull/32
* Bump NukeBuildHelpers from 9.0.7 to 9.0.8 by @dependabot[bot] in https://github.com/Kiryuumaru/NetConduit/pull/33
* Bump NukeBuildHelpers from 9.0.8 to 9.0.9 by @dependabot[bot] in https://github.com/Kiryuumaru/NetConduit/pull/35
* Bump Microsoft.NET.Test.Sdk from 18.0.1 to 18.3.0 by @dependabot[bot] in https://github.com/Kiryuumaru/NetConduit/pull/34
* Bump Microsoft.NET.Test.Sdk from 18.0.1 to 18.3.0 by @dependabot[bot] in https://github.com/Kiryuumaru/NetConduit/pull/36
* Add detailed backpressure tracking and stats/events by @Kiryuumaru in https://github.com/Kiryuumaru/NetConduit/pull/37
* Enhance StreamMultiplexer with auto-reconnect and API overhaul by @Kiryuumaru in https://github.com/Kiryuumaru/NetConduit/pull/38

**Full Changelog**: https://github.com/Kiryuumaru/NetConduit/compare/build.20251206140605.087b184...build.20260311230816.95078e2