TouchSocket

(โ˜… 1,276)

TouchSocket is an integrated .NET networking framework that includes modules for socket, TCP, UDP, SSL, named pipes, HTTP, WebSocket, RPC, and more. It offers a one-stop solution for TCP packet issues and enables quick implementation of custom data message parsing using protocol templates.

Showing a partial file list โ€” download the zip above to see everything.

  • .editorconfig
  • .gitattributes
  • .gitignore
  • exclusion.dic
  • gitmessage-template.txt
  • LICENSE
  • logo.png
  • README.md
  • README.zh.md
  • TouchSocket.sln
  • TouchSocketVersion.props

# Installation Guide

1. Get the code
git clone https://github.com/RRQM/TouchSocket

Downloads the entire project code from GitHub to your computer.

cd TouchSocket

Moves into the project folder you just downloaded.

2. .NET

Medium Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • .NET SDK The SDK required for the dotnet command.
dotnet restore

Downloads the packages the project depends on.

dotnet run

Builds the project and runs it immediately.

โœ… After dotnet run, check the message or address shown in the terminal.

3. Node.js

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Node.js Node.js must be installed to use npm. The LTS version is recommended.
cd handbook

This project's files live in a subfolder, so move into it first.

npm install

Downloads and installs the libraries listed in package.json.

npm start

Starts the development/run server.

โœ… After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
// repository documentation