This is intended as an example for Computer Networks 2 class at Poznań University of Technology. Mostly usable by my students. Goecho lousy implements Echo protocol over TCP/UDP described in RFC862.
For a daytime, check here
go get -u github.com/tdi/goecho
goecho [-h] [-H HOSTNAME] [-p PORT] [-u]
By default godaytime listens on port localhost:2222, -u
makes it listen on UDP port.
➜ nc localhost 2222
hello there
hello there
Dariusz Dwornikowski, MIT