Coder Social home page Coder Social logo

sylver.network's Introduction

Sylver.Network

Build Status codecov Codacy Badge Nuget

Sylver.Network is a simple and fast networking library built with C# and the .NET Core Framework. It simplifies the creation of socket servers and clients over the TCP/IP protocol.

Introduction

ℹī¸ Sylver.Network is a rewrite of my previous networking library named Ether.Network. This new version looks like the old one, but it has a better code structure, unit tests and performance improvements.

Just like the old version, Sylver.Network kept the same "easy-to-use" concept that allows you to create your own socket servers and/or socket client in a few lines of code.

How to install

Install Sylver.Network through the Visual Studio project package manager or using the following command in the Package Manager Console:

$> Install-Package Sylver.Network

Or you can use the dotnet command:

$> dotnet add package Sylver.Network

Features

Server

  • Server configuration
    • Listening host / port
    • Allocated bytes per clients connected
  • Client management
  • Broadcast messages to all connected clients or a given list of connected clients

Client

  • Client configuration
    • Remote server address / port
    • Allocated bytes for the receive and send operations
    • Retry configuration (One time, limited time, infinite)
  • Connect to remote server
  • Disconnect from the remote server
  • Send/Receive messages to/from the server

Packets

  • Create packet streams
  • Read data from packet streams
  • Customize your packet structure with a packet processor

Thanks

Thank you to everyone who has contributed to Ether.Network with features, bug fixes and suggestions to make the Ether library better! All contributions have been integrated to Sylver.Network (and reworked to fit the library design).

sylver.network's People

Contributors

extrez avatar johmarjac avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤ī¸ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.