techie
Advanced Member level 3
HTTP help required
I have to make a simple HTTP client using WINSOCK.DLL.
I have successfully made a connection to the server IP at port 80. But when I give it the command
GET index.htm HTTP/1.0
It results in <HTTP/1.0 400 Bad Request............ etc etc.
The same thing happens when I access any web server over the internet.
What am I missing.???
I have to make a simple HTTP client using WINSOCK.DLL.
I have successfully made a connection to the server IP at port 80. But when I give it the command
GET index.htm HTTP/1.0
It results in <HTTP/1.0 400 Bad Request............ etc etc.
The same thing happens when I access any web server over the internet.
What am I missing.???