The file cli/cli.go contains a misleading comment. The sendMsg function has a comment saying it should send a UDP packet, but that is wrong. As the handouts mention, the client-gossiper interaction is via TCP, and it should send a TCP packet. Thanks to Francesco Intoci for observing the problem.
The TA team