This example shows how to create simple chat based on TCP socket connection.
For testing you can use Go TCP chat client
> go get github.com/sylpheeed/go-tcp-socket-chat
> cd $GOPATH/src/github.com/sylpheeed/go-tcp-socket-chat/examples
> go run main.go