GithubHelp home page GithubHelp logo

iocpserver's Introduction

IOCPServer


IOCP 

A IOCP Server Class on Windows! 本类配套文章

一个基于完成端口网络服务类,自带缓存池和心跳包监测!

  • 这个类IOCP是本代码的核心类,用于说明WinSock服务器端编程模型中的 完成端口(IOCP)的使用方法,其中的IOContext类是封装了用于每一个重叠操作的参数, 具体说明了服务器端建立完成端口、建立工作者线程、投递Recv请求、投递Accept请求的方法, 所有的客户端连入的Socket都需要绑定到IOCP上,所有从客户端发来的数据,都会调用回调函数。
  • 用法:派生一个子类,重载回调函数
    • Revised by GaoJS at 2019/11

server

A TCP/IOCP Server with port:6000!


client

A TCP client(port:6000)!

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.