Winsock exe send html to IE
I was just wanted to see if this can be done.
I made a winsock server that listens on port 3550, when somthing connects it sends out some text.
I did this with IE:
It connected to my server program fine, but then IE just said this page cannot be displayed instead of printing out the text that i sent it.
Is this possible?
This is the buffer that i sent to the client:
char success = "Content-type: text/html\n\n<html>\nHello</html>"
I just want that to be shown in IE when i connect to the server, or is this not possible?