Created
June 24, 2012 14:35
-
-
Save serverhorror/2983456 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# term 1 | |
$ go run udpreceiver.go -host localhost:1235 | |
2012/06/24 16:33:32 @Booting... | |
2012/06/24 16:33:32 @I need to listen here (flag): %s0xf840052240 | |
2012/06/24 16:33:32 @Trying to listen on (UDPAddr): %s127.0.0.1:1235 | |
2012/06/24 16:33:37 @Received(1): []byte{0x58} | |
2012/06/24 16:33:37 @Received(1): "X" | |
2012/06/24 16:33:37 @Received(1): []byte{0x58} | |
2012/06/24 16:33:37 @Received(1): "X" | |
2012/06/24 16:33:37 @Received(1): []byte{0x58} | |
2012/06/24 16:33:37 @Received(1): "X" | |
2012/06/24 16:33:37 @Received(1): []byte{0x58} | |
2012/06/24 16:33:37 @Received(1): "X" | |
2012/06/24 16:33:37 @Received(5): []byte{0x74, 0x65, 0x73, 0x74, 0xa} | |
2012/06/24 16:33:37 @Received(5): "test" | |
# term 2 | |
$ echo test | nc -v -w 1 -4 -u 127.0.0.1 1235 | |
Connection to 127.0.0.1 1235 port [udp/mosaicsyssvc1] succeeded! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment