Installation¶
Install only the packages you need for your role.
Current package version
Verified on 2026-03-24:
Nalix.Network:11.8.0Nalix.SDK:11.8.0
Client packages¶
For a client application, start with:
Quick example¶
Add Nalix.Framework too if you want to load TransportOptions through ConfigurationManager instead of constructing them manually.
Server packages¶
For a server application, the common baseline is:
Quick example¶
dotnet add package Nalix.Network
dotnet add package Nalix.Framework
dotnet add package Nalix.Logging
dotnet add package Nalix.Shared
dotnet add package Nalix.Common
Configuration file¶
Most server setups and many SDK examples assume a default.ini file loaded through ConfigurationManager.
Typical sections:
Quick example¶
[NetworkSocketOptions]
Port=57206
Backlog=512
[TransportOptions]
Address=127.0.0.1
Port=57206
ConnectTimeoutMillis=7000
MaxPacketSize=65536
Validate early¶
Validate options before opening sockets or creating sessions:
Quick example¶
NetworkSocketOptions socket = ConfigurationManager.Instance.Get<NetworkSocketOptions>();
socket.Validate();
TransportOptions transport = ConfigurationManager.Instance.Get<TransportOptions>();
transport.Validate();