I've implemented a TCP server with the following code structure from here: http://golang.org/pkg/net/#example_Listener
I'm trying to ping the TCP server from a browser. The TCP server is able to write to my browser. However, it is not able to write to the client header as it is not using the HTTP protocol. How do I keep the TCP protocol and connections but still be able to write to the browser's header?