@@ -1,6 +1,7 @@
package main
import (
"encoding/hex"
"flag"
"fmt"
"io"
@@ -184,7 +185,7 @@ func handleConn(c net.Conn) {
}
return
fmt.Println("read data:", string(buffer[:n]))
fmt.Println("read data:", hex.EncodeToString(buffer[:n]))
b := []byte("ok")
c.Write(b)
The note is not visible to the blocked user.