2014-04-14 22:31:23 +08:00
2013-05-08 17:26:43 +08:00
2014-04-14 22:31:23 +08:00
2014-04-14 21:21:47 +08:00
2014-04-14 21:21:47 +08:00
2014-04-14 22:31:23 +08:00
2014-03-26 15:58:56 +08:00
2014-04-04 11:50:10 +08:00
2014-04-14 22:31:23 +08:00
2014-04-12 12:24:22 +08:00

Build

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 push a mondified version of lua 5.2.3 to 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)

Description
No description provided
Readme MIT 69 MiB
Languages
C 73.2%
Lua 23.5%
HTML 2.4%
Makefile 0.9%