Iec61850.Transport 0.1.0-rc.7

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

Iec61850.Transport

ISO transport over TCP for IEC 61850 MMS: RFC 1006 TPKT framing and ISO 8073 COTP class 0 connection and data handling.

Most applications should use Iec61850.Client or Iec61850.Server. Use this package directly for custom ISO-on-TCP endpoints or protocol tooling.

Capabilities

  • CotpConnection establishes or accepts COTP connections and sends or receives complete TSDUs.
  • CotpListener accepts inbound TCP/COTP peers.
  • CotpConnectionOptions configures TSAPs, TPDU/TSDU limits, handshake timeouts, cancellation draining, and TCP keepalive.
  • TpktFramer and CotpCodec expose the framing and TPDU codecs.
  • Protocol-specific exceptions distinguish refusal, disconnect, stall, and malformed transport behavior.

The package consumes an IDuplexStreamFactory, allowing the same transport implementation to run over plaintext or TLS.

Package relationships

Direct dependency: Iec61850.Security.

Used by Iec61850.Session, Iec61850.Client, and Iec61850.Server.

Status and support

This prerelease targets .NET 10 and defaults to TCP port 102. Endpoint TSAPs, timeouts, TLS, and size limits should be configured for the target IED.

Source and documentation · Protocol limits · Apache-2.0 license

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Iec61850.Transport:

Package Downloads
Iec61850.Session

OSI session layer (ISO 8326/8327), profiled to the kernel + duplex functional units MMS/61850 actually uses: SPDU parsing (its own SPDU/parameter encoding, not ASN.1 BER), CONNECT/ACCEPT/REFUSE, DATA TRANSFER, FINISH/DISCONNECT, and ABORT handling. Uses Span<byte> for framing like the BER-based layers above it, but does not depend on Iec61850.Asn1Ber.

Iec61850.Client

Client / master runtime: association management, service invocation API, report subscription, control sequencing (select-before-operate), reconnection/retry logic. Optionally validates a live discovered model (via GetDirectory/GetDataDirectory) against an SCL-provided expected/offline model (Iec61850.Scl) for configuration-drift detection.

Iec61850.Server

Server / IED runtime: association handling, data model hosting, report generation and buffering, control handling, and the hooks the Simulator app uses to drive scenarios. Security-relevant from the start: role/authorization policy for writes/controls/files, connection/request-rate/PDU-size/nesting limits, resource-exhaustion resistance, audit records for control operations. Owns crash/restart recovery policy: which state survives a process restart (buffered reports/EntryIDs, dynamic datasets if supported, file-transfer partial state, configuration/certificate state) versus which does not (control state is normally not resumed blindly) -- see docs/roadmap.md Phase 7.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-rc.7 148 8/28/2026
0.1.0-rc.6 135 8/25/2026
0.1.0-rc.5 153 8/25/2026

Third public prerelease candidate. Implements GetServerDirectory/domain discovery end to end, including SCL-seeded logical devices and continueAfter handling. Corrects MMS BER interoperability found during a live IEDExplorer session: standard Identify/GetNameList/GetVariableAccessAttributes/Read and named-variable-list shapes, service tags, recursive TypeSpecification and structured FC reads, dataset attributes, service advertisement, and separation of BER envelope depth from negotiated MMS data nesting. Adds literal IEDExplorer-shaped regression vectors, server-boundary tests, and fuzz seeds. Live IEDExplorer discovery, initialization, reads, and cyclic polling were verified against the built-in simulator. Setting Group Control, Substitution, and SetFile upload are explicitly excluded from the v1 scope.