Okay I am in the prosess off writing a simple web server ( it will just contain text + only show 1 page )
The problem is now that when i try to connect to the server
( listing on port 80 )
Under Opera i get this error: "Could not connect to remote server"
Altru I can see it start to load the page then the error msgbox suddenly pops up.
Here is the stuff that I am sending and recving from the server:
recving:
GET /test.html HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows NT 5.1) Opera 7.0 [en]
Host: 127.0.0.1
Accept: text/html, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1
Accept-Language: en
Accept-Charset: windows-1252, utf-8, utf-16, iso-8859-1;q=0.6, *;q=0.1
Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0
Connection: Keep-Alive, TE
TE: deflate, gzip, chunked, identity, trailers
the stuff im sending:
HTTP/1.0 200 OK
Date: Mon, 22 Dec 2003 2:19:45 GMT
Server: SomeWebServ
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html
Content-Length: 52
<html><body><h1>Hurray</h1>bla bla</body></html>
WHY WONT IT LOAD THE FRIGGIN PAGE ????