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.Networkfor listeners, connections, dispatch, middleware, and server-side limitsNalix.SDKfor client TCP sessions, request helpers, handshakes, and directivesNalix.Frameworkfor configuration, service registration, and background workersNalix.CommonandNalix.Sharedfor contracts, packet attributes, and built-in frames
Start here¶
If you are new to the project, read in this order:
If you are building a server, continue with:
If you are building a client, continue with:
Core runtime idea¶
The normal Nalix flow is:
- load typed configuration
- register shared services such as
ILoggerandIPacketRegistry - build packet dispatch
- start a listener or connect a client session
- 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