WheelTelnet 1.0.0

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

WheelTelnet

A minimal C# Telnet library.

Overview

WheelTelnet is a highly-reusable Telnet implementation. It was initially built for WheelMUD, then rebuilt as a separate library to strengthen separation of concerns and provide value to new usage cases.

Goals

  • Provide an easy-to-use abstraction over Socket, dealing with a lot of the fiddly stumbling blocks automatically.
  • Provide tracking of Telnet connections.
  • Provide notifications of state changes (like new connections and disconnections) through events.
  • Provide useful functionality whether you are building a Telnet client, server, or true bi-directional experience. (Currently, server mode is the most featured and best tested mode.)
  • Provide some commonly needed Telnet helper definitions (such as TelnetCommandByte constants).

Possible Goals

  • We may decide to house some common Telnet options negotiations logic here, as Telnet options state machines can also be a bit fiddly and valuable to abstract. While we would not want every option under the sun explicitly defined here, we could build it to be extensible without requiring the user to know the ins and outs of these state machines.

Non-Goals

  • Does not apply implementation-specific ideas about how input data gets handled. (Data remains bytes, not culled to strings.)
  • Does not discriminate between character-at-a-time mode or line mode, or other protocol specifics. (Tries to work with any clients or servers instead of ruling out options at this level.)
  • Does not apply other application-specific rules for you. (Things like deciding to automatically disconnect long-inactive connections are per-application choices.)

Development Guide

To keep this README short and shared with NuGet, see the Development Guide for the next steps.

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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 141 1/18/2026