Commit 43504f38 authored by haoyanbin's avatar haoyanbin

Config

parent 94c27856
......@@ -7,7 +7,9 @@ import (
const (
//host = "39.96.85.45"
host = "172.17.36.63"
//port = 6382
//password = "saas123456"
host = "172.17.0.102"
port = 6399
password = "a123456"
db = 6
......
......@@ -286,6 +286,7 @@ Loop:
goto Loop1
}
c.lastSendTime = time.Now()
fmt.Println(string(message))
_, err = w.Write(message)
if err != nil {
c.onError(errors.New("连接ID:" + c.Id + "写消息进写入IO错误!连接中断" + err.Error()))
......
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