Giter Club home page Giter Club logo

koinet's Introduction

KoiNet

A simple portable C++ networking library designed for video games.

Project Status

  1. Very early in development.
  2. Only static linking is currently supported.

Compatability

Any system with Unix socket API or WinSock2 API and >= C++11 should work.

How to Build

For CMake (>=v3.13), add add_subdirectory() to your CMakeLists.txt and link to the KoiNet library.

Tested Compilers

  1. GNU gcc (with WSL)
  2. MSVC
  3. MinGW

About

This is an exercise to better learn best practices with low-level network programming.

Goals

  1. Be familiar to those who know the C workflow but easier/simpler to use.
  2. Minimize the amount of global namespace pollution (e.g., minimize use of preprocessor statements, etc.).
  3. API is exactly the same across each supported platform; user code should not have to change between each platform.
  4. Provide access to all features available when possible.
  5. Use no exceptions.
  6. Minimal-overhead abstraction.
  7. Use C++ compliant with standard.
  8. Keep binary size small.
  9. No warnings if possible.
  10. Minimize the amount of jank user needs to deal with.

Inspiration

Koi are both pleasing to the eye and resilient.

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.