Coder Social home page Coder Social logo

ezio's Introduction

Introduction

ezio is a library that aims to provide an efficient approach to simplify TCP network programming across platforms.

Goals

ezio comes with following goals:

  • Support non-blocking I/O via epoll on Linux
  • Support asynchronous I/O via I/O Completion Ports on Windows
  • Consistent user codebase
  • Easy to use

ezio currently supports TCP socket only.

Build Instructions

Platform Requirements

Windows

  • Windows 7, or later
  • Visual Studio 2015, or later (C++ 14 is required)
  • CMake 3.11 or later
  • Python 3

Note:

  • If python 3 was not installed, you should run cmake configuration and build targets manually.
  • We will use the latest version of Visual Studio as possible and use x64 as the default target architecture.

Ubuntu

  • 14.04 LTS x64, or later
  • Clang 3.8, or G++ as the minimum (C++ 14 is required)
  • CMake 3.11, or later
  • Python 3
  • Ninja (optional)

Note:

  • If python 3 was not installed, you should run cmake configuration and build targets manually.
  • If Ninja was not installed, you can use the traditional Makefile

Generate & Build

KBase uses anvil to assist in generating build system files and running builds.

Please be noted that, building the project on Linux platforms would not install any of its files into your system's include directory.

Run anvil --help to check command flags in details.

Acknowledgements

ezio is initially inspired by muduo, which is an efficient non-blocking network library, but for Linux only.

Special thanks here to muduo and its author, and also to his remarkable book, which indeed offered great help to me for learning network programming.

Also thank oceancx, one of contributors of ezio, for reporting several critical issues and sharing his thoughtful insight for resolving these issues.

ezio's People

Contributors

kingsamchen avatar oceancx avatar

Watchers

 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.