To start server you can run:
go run server.go --host=localhost --port=9999
The flags are setted as default as in example.
As a client you can connect to the server with the next command:
go run client
And you can use the same flags as in the server section.