Skip to content

Nalix

Nalix is a .NET networking stack for building TCP and UDP systems with a shared packet model across server and client code.

The docs are organized around the parts people actually use:

  • Nalix.Network for listeners, connections, dispatch, middleware, and server-side limits
  • Nalix.SDK for client TCP sessions, request helpers, handshakes, and directives
  • Nalix.Framework for configuration, service registration, and background workers
  • Nalix.Common and Nalix.Shared for contracts, packet attributes, and built-in frames

Start here

If you are new to the project, read in this order:

  1. Introduction
  2. Installation
  3. Quick Start
  4. Packages Overview

If you are building a server, continue with:

If you are building a client, continue with:

Core runtime idea

The normal Nalix flow is:

  1. load typed configuration
  2. register shared services such as ILogger and IPacketRegistry
  3. build packet dispatch
  4. start a listener or connect a client session
  5. exchange packets through the same registry and metadata rules

Minimal example

flowchart LR
    A["Configuration"] --> B["InstanceManager"]
    B --> C["PacketRegistry"]
    C --> D["Dispatch or Session"]
    D --> E["Handlers / Requests"]

What this site tries to answer

  • which package to install
  • how to start a server
  • how to start a client
  • how dispatch, middleware, and metadata fit together
  • which runtime options matter in production