Skip to content

Socket server example like real time multiplayer game engine(mmo server)

Notifications You must be signed in to change notification settings

neko-neko/SocketServer-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SocketServer-Example

SocketServer-Example written in golang.
Socket server has main-loop like MMO server.

Installation

Multi-platform support

  • Windows
  • Mac OS X
  • Linux

Requirements

Build server and client

Download dependencies

$ dep ensure

Build Server

$ cd examples/server
$ go build main.go

Build Client

$ cd examples/client
$ go build main.go

Run server and client

Run server

$ SOCKET_SERVER_HOST=0.0.0.0 SOCKET_SERVER_PORT=11111 ./main

Run client

$ SOCKET_SERVER_CONNECT_HOST=localhost SOCKET_SERVER_CONNECT_PORT=11111 ./main

Credits

neko-neko

License

MIT

About

Socket server example like real time multiplayer game engine(mmo server)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages