TouchSocket 4.1.6
Prefix ReservedSee the version list below for details.
dotnet add package TouchSocket --version 4.1.6
NuGet\Install-Package TouchSocket -Version 4.1.6
<PackageReference Include="TouchSocket" Version="4.1.6" />
<PackageVersion Include="TouchSocket" Version="4.1.6" />
<PackageReference Include="TouchSocket" />
paket add TouchSocket --version 4.1.6
#r "nuget: TouchSocket, 4.1.6"
#:package TouchSocket@4.1.6
#addin nuget:?package=TouchSocket&version=4.1.6
#tool nuget:?package=TouchSocket&version=4.1.6
TouchSocket
简介
TouchSocket 是 .Net(包括 C#、VB.Net、F#)的一个整合性的 socket 网络通信框架。它包含了 TCP、UDP、SSL 等一系列的通信模块,能够一键式解决 TCP 黏分包问题、UDP 大数据包分片组合问题等。使用协议模板,可快速实现「固定包头」、「固定长度」、「区间字符」等一系列的数据报文解析。
功能特性
- 多协议支持:支持 TCP、UDP、SSL 等多种通信协议。
- 问题解决:一键解决 TCP 黏分包问题和 UDP 大数据包分片组合问题。
- 协议模板:提供协议模板,可快速实现多种数据报文解析。
支持的目标框架
- net462
- net472
- net481
- netstandard2.0
- netstandard2.1
- net6.0
- net10.0
- net8.0
使用方法
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. 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 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.2
- TouchSocket.Core (>= 4.1.6)
-
.NETStandard 2.0
- TouchSocket.Core (>= 4.1.6)
-
.NETStandard 2.1
- TouchSocket.Core (>= 4.1.6)
-
net10.0
- TouchSocket.Core (>= 4.1.6)
-
net6.0
- TouchSocket.Core (>= 4.1.6)
-
net8.0
- TouchSocket.Core (>= 4.1.6)
NuGet packages (27)
Showing the top 5 NuGet packages that depend on TouchSocket:
| Package | Downloads |
|---|---|
|
ThingsGateway.Foundation
Package Description |
|
|
TouchSocket.SerialPorts
这是.Net(包括 C# 、VB.Net、F#)的一个整合性的串口通信框架。包含了串口连接、断开等一系列的通信事务。同时能一键式解决数据黏分包问题。使用协议模板,可快速实现「固定包头」、「固定长度」、「区间字符」等一系列的数据报文解析。 说明文档:https://touchsocket.net/ |
|
|
TouchSocket.Http
这是一个基于Http1.1协议的组件库。它能提供Http服务器、客户端、以及WebSocket组件。功能上支持大文件下载、上传、以及多线程下载和断点续传,小文件form上传,WebApi声明和执行。所提供的Http客户端是基于连接的,可以捕获连接和断开连接等消息。 说明文档:https://touchsocket.net/ |
|
|
JGSteel.ZZ.MES.Core
Package Description |
|
|
TouchSocketPro
【专业版】这是一个轻量级的、支持插件的综合网络通信库。基础通信功能包含Tcp、Udp、Ssl等。。 【Enterprise】This is a lightweight, plug-in - enabled comprehensive network communication library. Basic communication functions include Tcp, Udp, Ssl, Rpc。 说明文档:https://touchsocket.net/ |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.1.7 | 415 | 3/8/2026 |
| 4.1.6 | 274 | 3/7/2026 |
| 4.1.5 | 2,923 | 3/1/2026 |
| 4.1.4 | 3,048 | 2/25/2026 |
| 4.1.3 | 3,547 | 2/12/2026 |
| 4.1.2 | 2,000 | 2/11/2026 |
| 4.1.1 | 7,767 | 2/1/2026 |
| 4.1.0 | 9,426 | 1/25/2026 |
| 4.0.8.10-beta | 786 | 1/21/2026 |
| 4.0.8 | 5,487 | 1/18/2026 |
| 4.0.7 | 5,987 | 1/8/2026 |
| 4.0.6 | 3,150 | 1/3/2026 |
| 4.0.5 | 3,704 | 12/28/2025 |
| 4.0.4 | 4,101 | 12/21/2025 |
| 4.0.3 | 3,571 | 12/13/2025 |
| 4.0.2 | 5,166 | 12/6/2025 |
| 4.0.1 | 5,267 | 11/30/2025 |
| 4.0.0 | 4,508 | 11/23/2025 |
| 4.0.0-rc.51 | 243 | 11/22/2025 |