netutil 1.0.0

dotnet tool install --global netutil --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local netutil --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=netutil&version=1.0.0
nuke :add-package netutil --version 1.0.0

netutil - Network utilities for dotnet

  • Implemented as a console application but with public classes for use within another application.
  • Also implemented as a dotnet global tool for eway deployment.

Installation

  • dotnet tool install --global netutil

Features

  • Proxy Server
  • Echo Server
  • Receive Client

Echo Server

Receives data sent by the client and echoes the same data back to the to client. Allows multiple client connections. Currently only supports TCP, but future -p --protocol switch will allow the use of UDP.

Example usage from command line: netutil echo-server -b 0.0.0.0:6340 -d -f AsciiText -e log.csv

  • -b or --bind: Bind to end point
  • -d or --display-data: Display data in console
  • -f or --format: Data format (Binary | AsciiText | Utf8Text) - for rendering in console and event log file
  • -e or --event-log-file: Log events (including data) to file

Proxy Server

Receives data sent by the client and forwards to another server and vice-versa (bi-directional). Allows multiple client connections. Currently only supports TCP, but future -p --protocol switch will allow the use of UDP.

Example usage from command line: netutil proxy-server -b 0.0.0.0:6341 -c 127.0.0.1:6340 -d -f AsciiText -e log.csv

  • -b or --bind: Bind to end point
  • -c or --connect: Connect to end point
  • -d or --display-data: Display data in console
  • -f or --format: Data format (Binary | AsciiText | Utf8Text) - for rendering in console and event log file
  • -e or --event-log-file: Log events (including data) to file

Client Receive

Receives data from a server. Currently only supports TCP, but future -p --protocol switch will allow the use of UDP.

Example usage from command line: netutil receive-client -c 127.0.0.1:6340 -d -f AsciiText -e log.csv

  • -c or --connect: Connect to end point
  • -d or --display-data: Display data in console
  • -f or --format: Data format (Binary | AsciiText | Utf8Text) - for rendering in console and event log file
  • -e or --event-log-file: Log events (including data) to file

TODO

  • Need to add connection timeouts as internal reader tasks stay running indefinitely
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.

This package has no dependencies.

Version Downloads Last updated
1.0.0 179 4/28/2023