angus258963 / tcp-server

Build a tcp server by go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tcp-server

Build a tcp server by go

Usage

Run the server

go run server.go -host localhost -port 3333

Connect to server

nc localhost 3333

Get server status

curl localhost:80/status

About

Build a tcp server by go


Languages

Language:Go 100.0%