skynet-master

所属分类:Windows编程
开发工具:Visual C++
文件大小:390KB
下载次数:20
上传日期:2014-05-14 21:25:54
上 传 者WWZG99
说明:  云风老大写的skynet 网游服务器最新版本

文件列表:
3rd (0, 2014-04-18)
3rd\jemalloc (0, 2014-04-18)
3rd\lua-cjson (0, 2014-04-18)
3rd\lua-cjson\CMakeLists.txt (2507, 2014-04-18)
3rd\lua-cjson\LICENSE (1081, 2014-04-18)
3rd\lua-cjson\Makefile (3882, 2014-04-18)
3rd\lua-cjson\NEWS (1718, 2014-04-18)
3rd\lua-cjson\THANKS (230, 2014-04-18)
3rd\lua-cjson\dtoa.c (88462, 2014-04-18)
3rd\lua-cjson\dtoa_config.h (1891, 2014-04-18)
3rd\lua-cjson\fpconv.c (6056, 2014-04-18)
3rd\lua-cjson\fpconv.h (525, 2014-04-18)
3rd\lua-cjson\g_fmt.c (2480, 2014-04-18)
3rd\lua-cjson\lua-cjson-2.1.0-1.rockspec (1551, 2014-04-18)
3rd\lua-cjson\lua-cjson.spec (2081, 2014-04-18)
3rd\lua-cjson\lua (0, 2014-04-18)
3rd\lua-cjson\lua\cjson (0, 2014-04-18)
3rd\lua-cjson\lua\cjson\util.lua (6837, 2014-04-18)
3rd\lua-cjson\lua\json2lua.lua (304, 2014-04-18)
3rd\lua-cjson\lua\lua2json.lua (387, 2014-04-18)
3rd\lua-cjson\lua_cjson.c (41586, 2014-04-18)
3rd\lua-cjson\manual.html (47864, 2014-04-18)
3rd\lua-cjson\manual.txt (17403, 2014-04-18)
3rd\lua-cjson\performance.html (14075, 2014-04-18)
3rd\lua-cjson\performance.txt (4064, 2014-04-18)
3rd\lua-cjson\rfc4627.txt (16319, 2014-04-18)
3rd\lua-cjson\runtests.sh (1936, 2014-04-18)
3rd\lua-cjson\strbuf.c (6132, 2014-04-18)
3rd\lua-cjson\strbuf.h (4349, 2014-04-18)
3rd\lua-cjson\tests (0, 2014-04-18)
3rd\lua-cjson\tests\bench.lua (3247, 2014-04-18)
3rd\lua-cjson\tests\example1.json (871, 2014-04-18)
3rd\lua-cjson\tests\example2.json (242, 2014-04-18)
3rd\lua-cjson\tests\example3.json (601, 2014-04-18)
3rd\lua-cjson\tests\example4.json (3463, 2014-04-18)
3rd\lua-cjson\tests\example5.json (873, 2014-04-18)
... ...

## Build Install autoconf first for jemalloc ``` git clone git@github.com:cloudwu/skynet.git cd skynet make 'PLATFORM' # PLATFORM can be linux, macosx, freebsd now ``` Or you can : ``` export PLAT=linux make ``` ## Test Run these in different console ``` ./skynet examples/config # Launch first skynet node (Gate server) and a skynet-master (see config for standalone option) lua examples/client.lua # Launch a client, and try to input some words. ``` ## About Lua Skynet put a modified version of lua 5.2.3 in 3rd/lua , it can share proto type between lua state (http://lua-users.org/lists/lua-l/2014-03/msg00489.html) . Each lua file only load once and cache it in memory during skynet start . so if you want to reflush the cache , call skynet.cache.clear() . You can also use the offical lua version , edit the makefile by yourself . ## Blog (in Chinese) * http://blog.codingnow.com/2012/09/the_design_of_skynet.html * http://blog.codingnow.com/2012/08/skynet.html * http://blog.codingnow.com/2012/08/skynet_harbor_rpc.html * http://blog.codingnow.com/eo/skynet/

近期下载者

相关文件


收藏者