Ok, All my knowledge is from, one exam project about making
a httpd service. The project have been closed, because of
the trouble of money. Now I can give you two advices for you
now.
1. I think you should reference some RFC about the http.
2. write a simple client application to analyze the responce
from a web server. (a tcp application to access port 80.)
the require string is very simple "GET / HTTP/1.1"
jansen zhu.
P.S. I think I can get the 50 Golden now.
Jansenzhu:
Thank you for your answer,but I don't know how to prevent some different from My pages. Can you give me some e-book resource of this or give me some of the link about introducing this?if OK,Please EMail:hblinux@163.net.
I think you're working on a httpd now.
Would you please read the http and html deeply.
I have meet same problem before.
The reason is that your responce head (message from
server to client) is imcompletely.
it should be:
{some head, including message of httpd server}
{body length}
{blank line}
{html plan}
it's enough. Good Lucky
Jansen Zhu.
P.S. Can I read your source code?