JdtSimpleTcp 1.0.1
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Standard 2.1
This package targets .NET Standard 2.1. The package is compatible with this framework or higher.
.NET Framework 4.6.1
This package targets .NET Framework 4.6.1. The package is compatible with this framework or higher.
dotnet add package JdtSimpleTcp --version 1.0.1
NuGet\Install-Package JdtSimpleTcp -Version 1.0.1
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="JdtSimpleTcp" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add JdtSimpleTcp --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: JdtSimpleTcp, 1.0.1"
#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.
// Install JdtSimpleTcp as a Cake Addin #addin nuget:?package=JdtSimpleTcp&version=1.0.1 // Install JdtSimpleTcp as a Cake Tool #tool nuget:?package=JdtSimpleTcp&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
JdtSimpleTcp
JdtSimpleTcp는 클라이언트 및 서버와 관련된 TCP 기반 애플리케이션 구축에 대한 궁극적인 제어를 제공합니다. 네트워크 읽기와 쓰기를 완전히 제어할 수 있는 간단한 TCP 클라이언트 및 서버로, 쉬운 제어 모듈을 구축할 수 있게 도와줍니다.
LAN 통신으로 명령어를 보내고, 받는게 명확한 상황에 해당 라이브러리가 적합합니다.
<b>Joel Christner의 원작을 Jdtek에 맞게 Hyeong Ryong이 수정하였습니다.</b>
원작: https://github.com/jchristn/CavemanTcp
Examples
Client Example
var client = new JdtTcpClient("127.0.0.1", 6053);
client.Connect(timeoutSeconds: 10);
WriteResult wr = null;
wr = client.Send("Hellow World"); // or client.Send([0x00, 0x01, 0x02]);
//wr = client.SendWithTimeout([ms], "[Data]");
//wr = await client.SendAsync("[Data]");
//wr = await client.SendWithTimeoutAsync([ms], "[Data]");
while (client.IsConnected)
{
// maximum 1024bytes를 읽어오지만, 구분자 <CR>, <LF>가 있는 경우 수신을 멈춤
var rr = client.Read(1024, [0x0D, 0x0A]);
//rr = await client.ReadAsync(1024, [0x0D, 0x0A]);
//rr = await client.ReadWithTimeoutAsync(timeoutMs: 1000, 1024, [0x0D, 0x0A]);
Console.WriteLine(Encoding.ASCII.GetString(rr.Data));
Thread.Sleep(100);
}
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 is compatible. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.6.1
- No dependencies.
-
.NETFramework 4.7.2
- No dependencies.
-
.NETStandard 2.1
- No dependencies.
-
net6.0
- No dependencies.
-
net7.0
- No dependencies.
-
net8.0
- No dependencies.
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.1 | 89 | 10/31/2024 |