Quick.Protocol.Tcp
2.9.4
dotnet add package Quick.Protocol.Tcp --version 2.9.4
NuGet\Install-Package Quick.Protocol.Tcp -Version 2.9.4
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="Quick.Protocol.Tcp" Version="2.9.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Quick.Protocol.Tcp" Version="2.9.4" />
<PackageReference Include="Quick.Protocol.Tcp" />
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 Quick.Protocol.Tcp --version 2.9.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Quick.Protocol.Tcp, 2.9.4"
#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 Quick.Protocol.Tcp@2.9.4
#: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=Quick.Protocol.Tcp&version=2.9.4
#tool nuget:?package=Quick.Protocol.Tcp&version=2.9.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Quick.Protocol.Tcp
Quick.Protocol 的 TCP 传输层实现。
功能特性
- 基于 TCP 协议的可靠传输
- 支持客户端和服务端
- 支持本地端点绑定
- 连接超时控制
安装
dotnet add package Quick.Protocol.Tcp
快速开始
客户端
using Quick.Protocol.Tcp;
var options = new QpTcpClientOptions
{
Host = "127.0.0.1",
Port = 3000,
Password = "HelloQP"
};
var client = new QpTcpClient(options);
await client.ConnectAsync();
服务端
using Quick.Protocol.Tcp;
var options = new QpTcpServerOptions
{
Address = "0.0.0.0",
Port = 3000,
Password = "HelloQP"
};
var server = new QpTcpServer(options);
server.ChannelConnected += (sender, channel) =>
{
// 处理新连接
};
server.Start();
项目地址
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Quick.Protocol (>= 2.9.4)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Quick.Protocol.Tcp:
| Package | Downloads |
|---|---|
|
TcpGuard.Server.Tcp
Package Description |
|
|
Quick.Protocol.InterfaceService
Utils for interface service. |
|
|
YiRenZheng.Agent
弈认证协议 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.9.4 | 140 | 8/28/2026 |
| 2.9.3 | 175 | 8/24/2026 |
| 2.9.3-rc2 | 40 | 8/27/2026 |
| 2.9.3-rc1 | 70 | 8/27/2026 |
| 2.9.2 | 113 | 8/22/2026 |
| 2.9.1 | 98 | 8/22/2026 |
| 2.9.0 | 97 | 8/21/2026 |
| 2.8.9 | 108 | 8/13/2026 |
| 2.8.8 | 108 | 8/12/2026 |
| 2.8.7 | 99 | 8/11/2026 |
| 2.8.6 | 91 | 8/11/2026 |
| 2.8.5 | 104 | 8/10/2026 |
| 2.8.4 | 90 | 8/9/2026 |
| 2.8.3 | 119 | 8/9/2026 |
| 2.8.2 | 115 | 8/9/2026 |
| 2.8.1 | 103 | 8/9/2026 |
| 2.8.0 | 129 | 7/30/2026 |
| 2.7.3 | 139 | 7/17/2026 |
| 2.7.2 | 125 | 7/17/2026 |
| 2.7.1 | 130 | 7/17/2026 |
Loading failed