Nalix.Network 14.4.0

dotnet add package Nalix.Network --version 14.4.0
                    
NuGet\Install-Package Nalix.Network -Version 14.4.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="Nalix.Network" Version="14.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nalix.Network" Version="14.4.0" />
                    
Directory.Packages.props
<PackageReference Include="Nalix.Network" />
                    
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 Nalix.Network --version 14.4.0
                    
#r "nuget: Nalix.Network, 14.4.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 Nalix.Network@14.4.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=Nalix.Network&version=14.4.0
                    
Install as a Cake Addin
#tool nuget:?package=Nalix.Network&version=14.4.0
                    
Install as a Cake Tool

Nalix.Network

Low-level TCP, WebSocket, datagram (NDP over UDP), connection, protocol, and admission-control infrastructure for Nalix servers.

Nalix.Network owns the transport layer. It accepts sockets, creates connection objects, enforces connection guard policy, manages active connection registries, and exposes protocol hooks used by Nalix.Runtime and Nalix.Hosting.

Install

dotnet add package Nalix.Network

What It Provides

Area Purpose Main types
TCP listeners High-throughput asynchronous TCP accept loops TcpListenerBase
Datagram listener NDP sessions over UDP: tickets, session table, AEAD per datagram DatagramListener, DatagramOptions
WebSocket listeners Raw WebSocket listener support for browser and proxy deployments WebSocketListenerBase
Connections Active connection objects and lifecycle hooks Connection, WebSocketConnection, DatagramConnection
Connection registry Sharded active connection storage and broadcast support ConnectionHub, ConnectionTerminator
Protocols Transport-neutral protocol lifecycle base Protocol
Admission control Per-IP limits, flood protection, bans, and datagram guards ConnectionGuard, DatagramGuard
Options Socket, guard, proxy, WebSocket, and timing-wheel configuration NetworkSocketOptions, ConnectionGuardOptions, ProxyProtocolOptions, NetworkWebSocketOptions

Custom TCP Listener

using Nalix.Abstractions.Networking;
using Nalix.Network.Listeners.Tcp;

// Frames are handled by the protocol's frame processor (IFrameProcessor.ProcessFrame),
// so a listener subclass only supplies the port, protocol, hub and connection guard.
public sealed class CustomTcpListener(
    ushort port, IProtocol protocol, IConnectionHub hub, IConnectionGuard guard)
    : TcpListenerBase(port, protocol, hub, guard);

Operational Notes

  • Use ConnectionGuard and DatagramGuard for public-facing services.
  • Configure trusted proxies before honoring forwarded client IP headers.
  • Prefer Nalix.Hosting for application setup unless you are implementing a custom transport.
  • TCP supports PROXY protocol handling; WebSocket supports forwarded HTTP headers when enabled.

Documentation

Product 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.  net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Nalix.Network:

Package Downloads
Nalix.Hosting

Nalix.Hosting provides Microsoft-style host and builder APIs for the Nalix ecosystem. It wires configuration loading, diagnostic event bridging, packet dispatch, and TCP/UDP listener lifecycle into a familiar builder/build/start workflow for quickly bootstrapping Nalix-based servers.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
14.4.0 883 11/22/2026
14.3.10 120 11/19/2026
14.3.9 10,195 10/27/2026
14.3.8 629 10/26/2026
14.3.7 3,814 10/24/2026
14.3.6 116 10/24/2026
14.3.5 200 10/6/2026
14.3.4 109 10/6/2026
14.3.3 159 9/26/2026
14.3.2 119 9/26/2026
14.3.1 3,233 8/29/2026
14.3.0 691 8/27/2026
14.2.18 744 8/13/2026
14.2.17 662 8/11/2026
14.2.16 431 8/1/2026
14.2.15 169 7/31/2026
14.2.14 148 7/31/2026
14.2.13 159 7/31/2026
14.2.12 169 7/29/2026
14.2.11 137 7/28/2026
Loading failed

- Hardened UDP Transport: Optimized sliding window anti-replay protection and session-aware endpoint pinning.
- Admission Security Guards: Hardened ConnectionGuard and DatagramGuard for flood protection, connection limits, and IP blacklists.
- Centralized Connection Hub: Thread-safe, sharded ConnectionHub with async broadcast and connection eviction.
- Coordinated Transport Listeners: Unified TCP, UDP, and WebSocket abstract listener loops with optimized concurrent performance.