1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user