Git Product home page Git Product logo

macrogu / mgserver Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 1.0 19.52 MB

一个通用的服务器框架,已经实现了普通的TCP socket和 websocket,可以用于长链接的游戏开发,小程序开发等。

License: GNU Lesser General Public License v2.1

CMake 0.19% C++ 33.54% C 61.19% Makefile 0.64% Shell 0.18% Python 0.82% M4 0.30% Batchfile 0.24% NSIS 0.06% Pascal 0.04% Objective-C 2.79%

mgserver's Introduction

MGServer

一个通用的服务器框架,已经实现了普通的TCP socket和 websocket,可以用于长链接的游戏开发,小程序开发等。

运行

请使用cmake 到build 下面生成工程,执行编译, 编译后在执行的目录添加 logs 文件夹,用于输出log, 并且拷贝 conf 文件夹内内容到执行目录下

编译:

在编译前需要安装 gcc 4.8.5 或以上版本,cmake 3.10 或以上版本, 已在 centos 7 ,ubuntu 18.10 的裸机上测试通过 直接运行命令 ./linux_build.sh 即可以编译整个服务器程序

mgserver's People

Contributors

macrogu avatar

Stargazers

 avatar sunlongcan avatar  avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

bidxom

mgserver's Issues

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.