Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/ foxuc Public
forked from 0990/foxuc

网狐内核websocket版示范

Notifications You must be signed in to change notification settings

yjmu/foxuc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

9 Commits

Repository files navigation

基于网狐内核的游戏服务端示例

本项目主要是开源稳定可靠的网狐内核供开发者学习,精简网狐平台的"系统模块",工程仅包含"登录服务器"、"内核引擎"、"服务核心", 其中"登录服务器"改造成一个小游戏的服务端

特点:

1,网狐内核升级,加入Websocket支持,内核已在棋牌项目运行二年以上,稳定可靠
2,网狐内核通信加入json支持(使用jsoncpp库)

运行

在"运行/Debug/Unicode"目录下,启动LogonServer.exe即开启了小游戏(头像大乱斗)的服务端

客户端代码在此:https://github.com/0990/shootgame

编译

仅支持vs2017,打开"系统模块"目录下Platform.sln编译即可

注意

1,websocket发包未支持分包,不支持一次发包32kb以上
2,json传输为明文传输(尽管代码中有加密代码但未启用)

About

网狐内核websocket版示范

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 88.8%
  • C 11.2%

AltStyle によって変換されたページ (->オリジナル) /