BladeNetwork 1.0.0
dotnet add package BladeNetwork --version 1.0.0
NuGet\Install-Package BladeNetwork -Version 1.0.0
<PackageReference Include="BladeNetwork" Version="1.0.0" />
<PackageVersion Include="BladeNetwork" Version="1.0.0" />
<PackageReference Include="BladeNetwork" />
paket add BladeNetwork --version 1.0.0
#r "nuget: BladeNetwork, 1.0.0"
#:package BladeNetwork@1.0.0
#addin nuget:?package=BladeNetwork&version=1.0.0
#tool nuget:?package=BladeNetwork&version=1.0.0
Description
This is a simple and lightweight C# asynchronous networking library. It is named after a famous SF classic, because it is as strong and reliable as replicants.
Features
- Very simple to use !
- Just a few instructions, explained in the documentation below.
- Easy to add as a reference (DLL) for an external project.
- TCP based implementation
- Efficiency (asynchronous read & write)
- Events raised at each reception of a message, for further processing (Observer pattern)
It works very well with Netwonsoft (https://www.newtonsoft.com/json). With this package installed, you are able to pass complex objects between server and client.
Getting started
There is a complete & well-documented example available in the Examples
directory.
It shows a very basic implementation of a running server and associated client.
Server-side (Example)
Initialization:
var server = new blade.Server(ip, port, MsgHandler);
Send messages:
server.Send(target, "Hello from server !");
Receive messages:
Implement the MsgHandler
function : it will be called each time a message is received by the server.
You can then parse it there.
Client-side (Example)
Initialization:
var client = new blade.Client(ip, port, MsgHandler);
Send messages:
client.Send("Hello from client !");
Receive messages:
Implement the MsgHandler
function : it will be called each time a message is received by the server.
You can then parse it there.
It's as simple as that !
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net35 is compatible. net40 was computed. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has 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.0 | 1,451 | 2/28/2018 |