Experimenting a bit with sockets.
After the client has connected to the server through the browser, the server will respond/send html to the client.
The following response string actually works if the client makes a reqeust to the server from chrome, it displays the string as html in the browser. But it does not work with IE.
char message = "HTTP/1.1 200 \r\n\r\n <html><body><h1>Hello buddy</h1></body></html>" ;