My pleasure . <3 . I suggest looking up Beej's Guide to Network Programming (a Web site) for some very helpful notes on the Unix Sockets API . Also, I recommend reading the man page for sendfile - because it is a real pain in the necku to deal with short writes ! Finally, telnet is a very useful tool for testing your server - better than a real web browser because you can control exactly the request .
Good hunting !
Name:
Anonymous2008-04-29 0:33
Furthermore, anon should look into "HTTP Made Really Easy" for a great breakdown on writing an HTTP 1.0 server and client to supplement your beej's guide.
Name:
Anonymous2008-04-29 1:35
lolz. web servers are so boring i write them in my sleep. please post ur web server code here so i can laugh at how you lay out your data structures.
Name:
Anonymous2008-04-29 3:42
>>6
We would like to laugh as well, please post your flawless victory codes