C
Christian Drescher
I try to build something like a web interface for one of my tools. I have
got a problem:
char sendBuf[] = "HTTP/1.1 200 OK\nContent-Type:
text/html\n\n<HTML>\n<BODY>\nHallo\n</BODY>\n</HTML>\n";
I used winsock2 to send - no error in sending, but the browser do not like
to deal with the information in sendBuf[]. Is there something wrong in my
understanding of the HTTProtocoll?
got a problem:
char sendBuf[] = "HTTP/1.1 200 OK\nContent-Type:
text/html\n\n<HTML>\n<BODY>\nHallo\n</BODY>\n</HTML>\n";
I used winsock2 to send - no error in sending, but the browser do not like
to deal with the information in sendBuf[]. Is there something wrong in my
understanding of the HTTProtocoll?