This commit is contained in:
suyl
2021-07-21 18:29:20 +08:00
parent 61a271b297
commit 5f5acb4063

View File

@@ -142,7 +142,7 @@ func ListenTcp() {
globals.SugarLogger.Debugf("begin listenTcp port 8000......") globals.SugarLogger.Debugf("begin listenTcp port 8000......")
go HandleTcpMessages() go HandleTcpMessages()
go HandleCheckTcpHeart() go HandleCheckTcpHeart()
go doPrint(printMsgChanFail) //go doPrint(printMsgChanFail)
go doPrint2(printMsgChan) go doPrint2(printMsgChan)
for { for {
c, err := l.Accept() c, err := l.Accept()