Skip to content

kyugao/gametcp_ex

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gametcp_ex

base on tcp socket server api framework written by golang

how to use

  1. install go env, set the $GOPATH

  2. go get github.com/Unknwon/goconfig go get github.com/go-sql-driver/mysql go get github.com/go-xorm/xorm go get github.com/garyburd/redigo/redis

  3. use the sql.sql to create the table

  4. start the redis server

  5. download the gametcp_ex and unzip it,then go run main.go, then you can write your own client code th connect the tcp server

  6. there are had client.go,clietn.py and client.php to show how to write client code, take a look at them

About

base on tcp socket server api framework written by golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 93.8%
  • PHP 3.4%
  • Python 2.8%