WsjtxUtils.WsjtxUdpServer 1.0.0.37

There is a newer version of this package available.
See the version list below for details.
dotnet add package WsjtxUtils.WsjtxUdpServer --version 1.0.0.37                
NuGet\Install-Package WsjtxUtils.WsjtxUdpServer -Version 1.0.0.37                
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="WsjtxUtils.WsjtxUdpServer" Version="1.0.0.37" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WsjtxUtils.WsjtxUdpServer --version 1.0.0.37                
#r "nuget: WsjtxUtils.WsjtxUdpServer, 1.0.0.37"                
#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.
// Install WsjtxUtils.WsjtxUdpServer as a Cake Addin
#addin nuget:?package=WsjtxUtils.WsjtxUdpServer&version=1.0.0.37

// Install WsjtxUtils.WsjtxUdpServer as a Cake Tool
#tool nuget:?package=WsjtxUtils.WsjtxUdpServer&version=1.0.0.37                

WsjtxUtils

A class library and usage examples related to interacting with WSJT-X through the UDP interface in .NET 6. This library allows for parsing and creating WSJT-X >= 2.2 messages and a lightweight UDP server that supports reading and writing WSJT-X messages utilizing async/await.

WsjtxUtils.WsjtxUdpServer

WsjtxUdpServer is a lightweight, multicast-capable, asynchronous UDP server for WSJT-X clients. IWsjtxUdpMessageHandler describes an interface that allows WsjtxUdpServer to handle all potential incoming messages from WSJT-X. Create a class that implements IWsjtxUdpMessageHandler and pass this class to the UDP server's constructor to begin processing messages asynchronously.

IWsjtxUdpMessageHandler messageHandler = new SomeCustomMessageHandler();
var cancellationTokenSource = new CancellationTokenSource();

using var server = new WsjtxUdpServer(messageHandler, IPAddress.Any);
server.Start(cancellationTokenSource);

// do other stuff while the server is running and processing messages
while (!cancellationTokenSource.IsCancellationRequested) { }

server.Stop();

WsjtxUdpServerBaseAsyncMessageHandler is an abstract class that implements IWsjtxUdpMessageHandler and provides a basic set of capabilities. It tracks WSJT-X clients and, if available, the last state for each client that has communicated with the server during the previous timeout window, which defaults to 5 minutes. There are properties for connected clients and callbacks used to execute a target function based on specific events, newly connected WSJT-X clients, clients who send the close message, and clients who have not communicated with the server during the previous timeout window.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.67 114 7/11/2024
1.0.0.66 146 3/26/2024
1.0.0.65 163 12/14/2023
1.0.0.63 444 12/7/2022
1.0.0.62 440 8/30/2022
1.0.0.61 564 8/12/2022
1.0.0.60 453 7/20/2022
1.0.0.59 484 7/13/2022
1.0.0.58 483 7/13/2022
1.0.0.57 466 7/13/2022
1.0.0.56 484 7/13/2022
1.0.0.55 494 7/10/2022
1.0.0.51 597 3/15/2022
1.0.0.50 492 2/17/2022
1.0.0.49 451 2/10/2022
1.0.0.48 467 2/3/2022
1.0.0.47 463 2/3/2022
1.0.0.46 481 2/1/2022
1.0.0.44 513 1/30/2022
1.0.0.43 466 1/28/2022
1.0.0.42 489 1/28/2022
1.0.0.41 474 1/26/2022
1.0.0.37 479 1/24/2022