SocketServer-Example written in golang.
Socket server has main-loop like MMO server.
Multi-platform support
- Windows
- Mac OS X
- Linux
$ dep ensure
$ cd examples/server
$ go build main.go
$ cd examples/client
$ go build main.go
$ SOCKET_SERVER_HOST=0.0.0.0 SOCKET_SERVER_PORT=11111 ./main
$ SOCKET_SERVER_CONNECT_HOST=localhost SOCKET_SERVER_CONNECT_PORT=11111 ./main
neko-neko
MIT