zhuilang 987bb3df47 modify from http folder (#1470)
* delete unused var and add used arg

* use interface from stream
2021-09-01 07:12:27 +08:00
2021-03-30 14:55:02 +08:00
2020-10-10 13:36:59 +08:00
2021-09-01 07:12:27 +08:00
2021-07-01 19:29:48 +08:00
2021-08-30 10:00:57 +08:00
2014-04-21 08:47:45 +08:00
2020-11-16 10:51:36 +08:00
2020-01-19 20:23:26 +08:00
2014-06-18 15:10:21 +08:00
2020-11-16 10:51:36 +08:00

skynet logo

Skynet is a lightweight online game framework which can be used in many other fields.

Build

For Linux, install autoconf first for jemalloc:

git clone https://github.com/cloudwu/skynet.git
cd skynet
make 'PLATFORM'  # PLATFORM can be linux, macosx, freebsd now

Or:

export PLAT=linux
make

For FreeBSD , use gmake instead of make.

Test

Run these in different consoles:

./skynet examples/config	# Launch first skynet node  (Gate server) and a skynet-master (see config for standalone option)
./3rd/lua/lua examples/client.lua 	# Launch a client, and try to input hello.

About Lua version

Skynet now uses a modified version of lua 5.4.2 ( https://github.com/ejoy/lua/tree/skynet54 ) for multiple lua states.

Official Lua versions can also be used as long as the Makefile is edited.

How To Use

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