网游服务器socket框架精简版

上传者: tanyancc | 上传时间: 2019-12-21 21:13:58 | 文件大小: 160KB | 文件类型: rar
1、一个简单的网络游戏服务器,socket框架,底层用的是boost跨平台的框架 2、基本实现socket,thread等基本类型的封装。 3、实现了一个简单server,client。 4、简单实现了登录,client模拟发送聊天消息,服务器端实现了,消息的广播等 5、本实例,是从之前的一个页游项目中,自己精简出来的。麻雀虽小五脏俱全,对于学习网游服务器绝对有帮助

文件下载

资源详情

[{"title":"( 51 个子文件 160KB ) 网游服务器socket框架精简版","children":[{"title":"Library","children":[{"title":"Debug","children":[{"title":"client.ini <span style='color:#111;'> 51B </span>","children":null,"spread":false},{"title":"server.ini <span style='color:#111;'> 29B </span>","children":null,"spread":false}],"spread":true},{"title":"client","children":[{"title":"world.h <span style='color:#111;'> 528B </span>","children":null,"spread":false},{"title":"world.cpp <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false},{"title":"client.cpp <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"client.ini <span style='color:#111;'> 18B </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 231B </span>","children":null,"spread":false},{"title":"client.vcxproj.user <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"client.vcxproj <span style='color:#111;'> 4.70KB </span>","children":null,"spread":false},{"title":"client.h <span style='color:#111;'> 577B </span>","children":null,"spread":false},{"title":"client.vcxproj.filters <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false}],"spread":true},{"title":"Library","children":[{"title":"Library.vcxproj.user <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"LIni.h <span style='color:#111;'> 509B </span>","children":null,"spread":false},{"title":"LTool.cpp <span style='color:#111;'> 634B </span>","children":null,"spread":false},{"title":"LBuff.h <span style='color:#111;'> 2.97KB </span>","children":null,"spread":false},{"title":"LRunnable.cpp <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"LRunnable.h <span style='color:#111;'> 875B </span>","children":null,"spread":false},{"title":"Library.vcxproj.filters <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"LSocket.cpp <span style='color:#111;'> 3.41KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 494B </span>","children":null,"spread":false},{"title":"LTime.cpp <span style='color:#111;'> 2.96KB </span>","children":null,"spread":false},{"title":"LTool.h <span style='color:#111;'> 234B </span>","children":null,"spread":false},{"title":"LIni.cpp <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":"LBase.h <span style='color:#111;'> 652B </span>","children":null,"spread":false},{"title":"LSingleton.h <span style='color:#111;'> 421B </span>","children":null,"spread":false},{"title":"LLog.h <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"LNet.cpp <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false},{"title":"LMsg.h <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false},{"title":"LMsg.cpp <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false},{"title":"LTime.h <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"LLog.cpp <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"Library.vcxproj <span style='color:#111;'> 4.56KB </span>","children":null,"spread":false},{"title":"LSocket.h <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"LNet.h <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false}],"spread":false},{"title":"Library.sln <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false},{"title":"Release","children":[{"title":"server.exe <span style='color:#111;'> 202.50KB </span>","children":null,"spread":false},{"title":"client.exe <span style='color:#111;'> 195.00KB </span>","children":null,"spread":false},{"title":"client.ini <span style='color:#111;'> 53B </span>","children":null,"spread":false},{"title":"server.ini <span style='color:#111;'> 29B </span>","children":null,"spread":false}],"spread":true},{"title":"Library.suo <span style='color:#111;'> 29.00KB </span>","children":null,"spread":false},{"title":"server","children":[{"title":"world.h <span style='color:#111;'> 919B </span>","children":null,"spread":false},{"title":"world.cpp <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false},{"title":"server.ini <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 330B </span>","children":null,"spread":false},{"title":"user.h <span style='color:#111;'> 384B </span>","children":null,"spread":false},{"title":"server.cpp <span style='color:#111;'> 558B </span>","children":null,"spread":false},{"title":"user.cpp <span style='color:#111;'> 692B </span>","children":null,"spread":false},{"title":"server.vcxproj <span style='color:#111;'> 4.77KB </span>","children":null,"spread":false},{"title":"server.vcxproj.filters <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"server.h <span style='color:#111;'> 315B </span>","children":null,"spread":false},{"title":"server.vcxproj.user <span style='color:#111;'> 143B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • Rebol_ry :
    不知道上边的下载下来是怎么使用的,我这边编译都编译不过,下载包的少东西吧
    2017-10-09
  • he86120 :
    能跑,但不知道怎么用,有个文档就好了。
    2017-09-22
  • 城府迷虫 :
    很精简 不知道楼主的思维写的分布式的精简架子会是什么样子
    2017-01-04
  • Ganker_Johnny :
    很好很实用,已解决
    2016-11-12

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明