{"id":20995889,"url":"https://github.com/theopnv/bladenetwork","last_synced_at":"2026-04-11T08:42:52.662Z","repository":{"id":69033941,"uuid":"115156018","full_name":"theopnv/BladeNetwork","owner":"theopnv","description":"A simple and lightweight C# asynchronous networking library","archived":false,"fork":false,"pushed_at":"2018-02-28T15:37:36.000Z","size":624,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-09T13:03:55.990Z","etag":null,"topics":["asynchronous","blade-runner","client","csharp","dotnet","network","observer-pattern","server","tcp"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theopnv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-22T23:03:24.000Z","updated_at":"2017-12-27T00:30:47.000Z","dependencies_parsed_at":"2023-03-24T23:17:44.382Z","dependency_job_id":null,"html_url":"https://github.com/theopnv/BladeNetwork","commit_stats":null,"previous_names":["theopnv/bladenetwork","theo-pnv/bladenetwork"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theopnv%2FBladeNetwork","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theopnv%2FBladeNetwork/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theopnv%2FBladeNetwork/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theopnv%2FBladeNetwork/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theopnv","download_url":"https://codeload.github.com/theopnv/BladeNetwork/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243410445,"owners_count":20286395,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asynchronous","blade-runner","client","csharp","dotnet","network","observer-pattern","server","tcp"],"created_at":"2024-11-19T07:26:22.648Z","updated_at":"2025-12-26T09:00:01.579Z","avatar_url":"https://github.com/theopnv.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Blade Network.NET](Documentation/Readme/blade-network.png \"Blade Network.NET\")\n\n[![Build status](https://ci.appveyor.com/api/projects/status/4a3b1ytxff7bf7q1?svg=true)](https://ci.appveyor.com/project/theo-pnv/bladenetwork)\n![NuGet](https://img.shields.io/nuget/v/Nuget.Core.svg)\n![license](https://img.shields.io/github/license/mashape/apistatus.svg)\n\n## Description\n\nThis is a simple and lightweight C# asynchronous networking library.\nIt is named after a famous SF classic, because it is as strong and reliable as replicants.\n\n### Features\n\n- *Very simple to use !*\n  - Just a few instructions, explained in the documentation below.\n  - Easy to add as a reference (DLL) for an external project.\n- TCP based implementation\n- Efficiency (asynchronous read \u0026 write)\n- Events raised at each reception of a message, for further processing (Observer pattern)\n\nIt 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.\n\n## Getting started\n\nA Nuget package is available : https://www.nuget.org/packages/BladeNetwork/\n\nThere is a complete \u0026 well-documented example available in the `Examples` directory.\nIt shows a very basic implementation of a running server and associated client.\n\n### Server-side [(Example)](Examples/BladeServer/Server.cs)\n\n**Initialization:**\n\n    var server = new blade.Server(ip, port, MsgHandler);\n\n**Send messages:**\n\n    server.Send(target, \"Hello from server !\");\n\n**Receive messages:**\n\nImplement the `MsgHandler` function : it will be called each time a message is received by the server.\nYou can then parse it there.\n\n### Client-side [(Example)](Examples/BladeClient/Client.cs)\n\n**Initialization:**\n\n    var client = new blade.Client(ip, port, MsgHandler);\n\n**Send messages:**\n\n    client.Send(\"Hello from client !\");\n\n**Receive messages:**\n\nImplement the `MsgHandler` function : it will be called each time a message is received by the server.\nYou can then parse it there.\n\nIt's as simple as that !","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheopnv%2Fbladenetwork","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheopnv%2Fbladenetwork","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheopnv%2Fbladenetwork/lists"}