This commit is contained in:
suyl
2021-06-28 10:44:13 +08:00
parent 89ffc21a4c
commit b95515675b

View File

@@ -187,7 +187,7 @@ func handleConn(c net.Conn) {
return
}
fmt.Println("read data", hex.EncodeToString(buffer[:n]))
data := "1e00370200ff5000011b401b594155012d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2dff"
data := `1E00C10200FF5000011B401B594155012D202D202D202D202D202D202D202D202D202D202D202D202D2D202D202D200AB2CBC3FB2020202020202020CAFDC1BF2020202020202020BDF0B6EE0AB0D7C7D0BCA620202020202031202020202020202020202031350A2D202D202D202D202D202D202D202D202D202D202D202D202D2D202D202D200A1b61021b2130D7DCBDF0B6EE3A31350A1D58021b5a000106160068747470733a2f2f7777772e62616964752e636f6d2f1b61000A0A0A1B40FF`
c.Write([]byte(data))
fmt.Println("write data: ", data)
}