aboutsummaryrefslogtreecommitdiff
path: root/misc/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'misc/main.go')
-rw-r--r--misc/main.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/misc/main.go b/misc/main.go
index 15a52d5..213de64 100644
--- a/misc/main.go
+++ b/misc/main.go
@@ -128,7 +128,7 @@ func recv(c net.Conn) []byte {
}
func dump(b []byte, dir string) []byte {
- fmt.Println(dir)
+ log.Println(dir)
fmt.Println(hex.Dump(b))
return b
}
@@ -146,6 +146,9 @@ func main() {
dump(recv(c), "<<< Recv status")
send(c, dump(status, ">>> Send status"))
+ dump(recv(c), "<<< Recv status")
+ send(c, dump(status, ">>> Send status"))
+
send(c, dump(release, ">>> Send release"))
dump(recv(c), "<<< Recv release")
}