Pepperdash.Essentials.Plugins.Generic.Tcp.Server 1.0.0

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

TCP Server Usage Guide

Overview

This plugin provides a generic TCP server that listens for client connections and passes received data back to the TcpServer class. The server supports multiple simultaneous client connections and allows for configuration of the listening IP address and port.

Configuration

Device Configuration

{
  "key": "tcp-server-1",
  "name": "TCP Server",
  "type": "tcpServer",
  "properties": {
    "addressToAcceptConnectionsFrom": "0.0.0.0",
    "port": 5001,
    "maxNumberOfClients": 2
  }
}
  • addressToAcceptConnectionsFrom (string, required): The IP address to listen on

    • Use "0.0.0.0" to listen for any connection
    • Use a specific IP address like "192.168.1.100" to listen for a particular connection
  • port (integer, required): The port number to listen on

    • Must be between 1 and 65535
    • Common choices: 5001, 9000, etc.
  • maxNumberOfClients (integer, optional): Max number of clients to listen for

    • If omitted, will default to 5

Bridge Configuration

{
  "key": "devices-io-bridge",
  "type": "eiscApiAdvanced",
  "group": "api",
  "properties": {
    "control": { 
      "ipid": "a7", 
      "method": "ipidTcp", 
      "tcpSshProperties": { 
        "address": "127.0.0.2", 
        "port": 0 
      } 
    },
    "devices": [
      { 
        "deviceKey": "tcp-server-1", 
        "joinStart": 171 
      }
    ]
  }
}

Bridge Join Map

Digital Joins
Join Name I/O Description
1 IsListening To/From SIMPL Starts/stops the TCP server listening and reports listening status
2 DisconnectAllClients From SIMPL Disconnects all connected clients
Analog Joins
Join Name I/O Description
2 ClientsConnected To SIMPL Number of clients currently connected
Serial Joins
Join Name I/O Description
1 DataReceived To SIMPL Data received from client
1 DataSend From SIMPL Data sent to client
2 DeviceName To SIMPL Device Name
Product Compatible and additional computed target framework versions.
.NET Framework net472 is compatible.  net48 was computed.  net481 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 104 7/28/2026
1.0.0-tcp-server-plugin.4 57 7/28/2026
1.0.0-tcp-server-plugin.3 57 7/28/2026
1.0.0-tcp-server-plugin.2 66 7/28/2026
1.0.0-tcp-server-plugin.1 62 7/28/2026