This commit is contained in:
suyl
2021-06-25 16:15:11 +08:00
parent c6ae872232
commit 0ce55a7257

View File

@@ -187,7 +187,7 @@ func handleConn(c net.Conn) {
}
fmt.Println("read data", hex.EncodeToString(buffer[:n]))
b := []byte("ok")
c.Write(b)
c.Write([]byte(hex.EncodeToString(b)))
}
}