Zlink 1.1.0

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

Zlink is the .NET binding package for zlink.

The package exposes the public API under the Systems.Zlink namespace and ships the native zlink runtime files needed by supported platforms.

Routed receive results expose Received.Send(...) for sending a normal routed message back over the original receive context. Request messages also keep Received.Reply(...); Send does not use request-reply state.

Create caller-owned receive buffers with Received.Create() and reuse the same instance across Recv(...) calls when draining hot paths.

Send and request back-pressure

A normal SEND admission returns completion ID 0 and produces no completion. When a DONTWAIT SEND is back-pressured, Core reports EAGAIN and retains the nonzero wait token, user context, and target routing id, but not the payload. The awaitable send helper keeps the exact packet, waits for POLLOUT, drains the completion queue, and retries that packet only after the matching WRITABLE token, context, and routing id arrive. POLLCOMPLETION remains the request-completion signal; it is not a successful-SEND notification.

Use Send().Message(...).TrySubmit() for a synchronous DONTWAIT attempt. It returns false on BACKPRESSURED/EAGAIN and leaves every message with the caller; other failures throw ZlinkSubmitException.

An external poll loop driving awaitable SEND retries registers both POLLOUT and POLLCOMPLETION: the former reports credit and the latter transfers sole completion-queue drain ownership to that poller. The binding filters a WRITABLE-only wake from the caller-visible POLLCOMPLETION result.

Awaitable REQUEST uses the same pre-admission token flow. Immediate admission returns a nonzero REQUEST completion ID and starts the reply timeout. On BACKPRESSURED/EAGAIN, Core retains only a nonzero wait token, context, and target. The binding snapshots the request at that refusal point, waits for its matching WRITABLE, and resubmits the same request. Only admission changes the operation to the normal reply/timeout completion phase. Terminal WRITABLE records surface as typed ZlinkSubmitException failures.

PENDING_MAX_MSGS and PENDING_MAX_BYTES retain their native numeric values and value storage for ABI compatibility. Core ignores both options; neither SEND nor REQUEST has a Core-owned pre-admission pending payload pool.

Native library loading

The binding first honors ZLINK_LIBRARY_PATH, then searches packaged native runtime locations, and finally falls back to well-known library names for the current platform. ZLINK_LIBRARY_PATH is intended for development, diagnostics, and trusted deployments where the process environment is controlled by the operator.

Do not allow untrusted users to set ZLINK_LIBRARY_PATH for a privileged service process. Services with a strict loading policy should deploy the native library in a fixed application directory and control that directory's ownership and write permissions.

CancellationToken policy

CancellationToken is part of an API only when the operation can actually wait and the binding can observe cancellation while it waits. Awaitable send and request operations keep optional tokens because they can wait for writable retry notifications, request completions, replies, timeouts, or queue progress.

Synchronous builders, immediate configuration calls, and callback-style submit methods do not take a token. A token must not be added only to call ThrowIfCancellationRequested() before a non-cancelable operation.

Project repository: https://github.com/zlink-systems/zlink

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 was computed.  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 was computed.  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.
  • net8.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Zlink:

Package Downloads
Zlink.Framework

ZLink framework core abstractions and runtime for .NET.

Zlink.Framework.AspNetCore

ASP.NET Core integration layer for ZLink framework.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.0 57 9/14/2026
1.0.0 41 9/14/2026
0.18.0 66 9/10/2026
0.17.6 199 9/9/2026
0.17.5 74 9/9/2026
0.17.3 77 9/8/2026