I'm looking for some source code for a (very) basic httpd server & a socket tutiorial.
If anybody has source code for a basic server that can show a basic index.html/index.htm file I would bhe very grateful.
Many Thanx
I'm looking for some source code for a (very) basic httpd server & a socket tutiorial.
If anybody has source code for a basic server that can show a basic index.html/index.htm file I would bhe very grateful.
Many Thanx
>I'm looking<snip>
You're obviously not looking very hard. Get a book, search the web, and at least try to do a little research before running for help. Here is a good start:
www.google.com
www.planet-source-code.com
www.cpp-home.com/
-Prelude
My best code is written with the delete key.
Also, the ultimate newbie socket tutorial:
http://www.ecst.csuchico.edu/~beej/guide/net/html/
<Signature
name="Ruchikar"
quote="discussions are forgotten, only code remains"/>
ok, most of the tutorials I read on sockets are very hard for me to understand, I am still reading through them trying to learn. I want to make a 'very' basic web server or a server I can telnet to & write to a text file on the server. So I just want a few begginer tutorials on c sockets, please post a few, many thanx.
The best guide I've seen has already been posted:
http://www.ecst.csuchico.edu/~beej/guide/net/html/
It even includes sample source for a client and server.
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]
>most of the tutorials I read on sockets are very hard for me to understand
So read them again until you do. If sockets were simple enough for everyone to understand after merely reading an on-line tutorial then they would be pretty much useless.
>So I just want a few begginer tutorials on c sockets
You've been given that. Though it seems to me you may need a beginner tutorial on C so that you can work your way up to sockets if your problem is not understanding the material.
-Prelude
My best code is written with the delete key.