GithubHelp home page GithubHelp logo

awen162 / libiop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wangzhione/libiop

0.0 1.0 0.0 4.74 MB

特别适合学习网络io的一个简易开源库. 清洁和简单

Makefile 0.14% C 99.56% C++ 0.30%

libiop's Introduction

libiop

特别适合学习网络io的一个简易开源库. 清洁和简单

项目简介

这个项目是在 Visual Studio 2015/2017 or Ubuntu + GCC 环境下开发调试的.
window 上使用的是 select io 构建
linux 上使用的是 select io or epoll io 构建
设计的总思路是: 事件注册 + 消息轮序, 微型的libevent套路

学习简介

说真的, 这是个跨平台的C网络库, 特别精简及其适合入门的人去学习.

window 上 只需要安装 Best New Visual Studio 编译.
linux  上 只需要安装 Best New GCC 然后 make

./main.exe          -> 启动简易 echo 服务器
./main.exe client   -> 启动简易 客户端

随后深入学习可以 从 main.c 看起, 搞一遍基本就明白基于注册的网络io套路.

项目构建步骤

参照 libiop/ReadMe.txt

欢迎指正, 补充, 打脸

                        《血薇》

把酒祝东风,且共从容。垂杨紫陌洛城东。总是当时携手处,游遍芳丛 。

聚散苦匆匆,此恨无穷。今年花胜去年红。可惜明年花更好,知与谁同?

libiop's People

Contributors

wangzhione 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.