This commit is contained in:
邹宗楠
2022-07-27 16:13:05 +08:00
parent 6a06a29e54
commit 2a73940961

View File

@@ -23,6 +23,7 @@ func ListenTcp() {
return
}
globals.SugarLogger.Debugf("begin listenTcp port 8000......")
globals.SugarLogger.Debugf("begin listenTcp port 8000......刘磊")
for {
c, err := l.Accept()
if err != nil {
@@ -34,6 +35,7 @@ func ListenTcp() {
}
func (t *TcpClient) handleConn(c net.Conn) {
globals.SugarLogger.Debugf("begin listenTcp port 8000......刘磊2")
if c == nil {
globals.SugarLogger.Debugf("conn is nil")
return