Commit b07130c1 authored by AlexStocks's avatar AlexStocks

add server address for tcp server

parent 484cdc1d
......@@ -62,10 +62,11 @@ type Server struct {
}
// NewTCServer builds a tcp server.
func NewTCPServer() *Server {
func NewTCPServer(addr string) *Server {
return &Server{
typ: TCP_SERVER,
done: make(chan gxsync.Empty),
addr: addr,
}
}
......
......@@ -10,9 +10,9 @@
package getty
const (
Version = "0.7.04"
DATE = "2017/05/02"
Version = "0.8.01"
DATE = "2018/03/08"
GETTY_MAJOR = 0
GETTY_MINOR = 7
GETTY_BUILD = 4
GETTY_MINOR = 8
GETTY_BUILD = 1
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment