diff --git a/business/jxstore/cms/temp.go b/business/jxstore/cms/temp.go index f32e9f895..8684f5257 100644 --- a/business/jxstore/cms/temp.go +++ b/business/jxstore/cms/temp.go @@ -29,7 +29,11 @@ func connHandler(c net.Conn) { // return //} //写入数据 - c.Write([]byte("input 1111111111")) + n, err := c.Write([]byte("input 1111111111")) + if err != nil { + fmt.Println("Write err:", err, n) + return + } //服务器端返回的数据写入buf cnt, err := c.Read(buf) if err != nil {