TCPeasy

🔌 Connecting sockets

MIT License

Stars
6
Committers
1

🔌 TCPeasy - Connecting sockets

TCPeasy provides you with a TCP server socket and a TCP client socket to jump-start your TCP projects. It comes with a TCP message parser that extracts messages from your TCP data stream.

TCPeasy.Cli is a dotnet console application that can run in server mode or client mode and is using the TCP message parser to allow you to send UTF8 messages from a server to multiple clients or from a client to a server.

Install

NuGet Unity Packages on OpenUPM
TCPeasy NuGet openupm
TCPeasy.Cli NuGet

Automated Unity Package Releases: https://github.com/sschmid/com.sschmid.tcpeasy

Quick Start

Check out the TCPeasy.Cli project which contains the ListenCommand and the ConnectCommand which starts the console app in either server or client mode.

See TCPeasy.Cli

Demo

Run TCPeasy.Cli and give it a try!

Start the server by listening on a port, e.g. 12345

dotnet run --project src/TCPeasy.Cli/TCPeasy.Cli.csproj listen 12345

Connect clients to an IP address on a specific port, e.g. localhost on port 12345

dotnet run --project src/TCPeasy.Cli/TCPeasy.Cli.csproj connect localhost 12345

Use the -v option for verbose output

dotnet run --project src/TCPeasy.Cli/TCPeasy.Cli.csproj -- listen -v 12345
dotnet run --project src/TCPeasy.Cli/TCPeasy.Cli.csproj -- connect -v localhost 12345

Maintainer(s)

@sschmid on GitHub - @s_schmid on Twitter

Badges
Extracted from project README
CI Coverage Status NuGet License: MIT Twitter NuGet openupm NuGet