Re: Urgent : help needed on web server implemenation

From: Rennie deGraaf (ca.ucalgary.cpsc_at_degraaf)
Date: 11/28/04


Date: Sun, 28 Nov 2004 07:42:57 GMT

Santhosh Adiga wrote:
> Hi,
>
> I am trying to implement a HTTP web server in C++.
> This is my first attempt at network programming
> so I am having a loot of trouble identifying the
> right classes, their jobs and their interactions.
> The aim is to make the web-server extensible, so
> that it serves static pages now, but can be extended
> to service dynamic pages later on.
>
> I request anyone who has had some experience in this
> to help me out in this regard asap.
>
> Regards
> Santhosh

You want to read Beej's Guide to Network Programming
(http://www.ecst.csuchico.edu/~beej/guide/net/html/). It will tell you
how to do network programming.

C++ doesn't have any socket classes or anything like that (unless you're
using some 3rd party class library), so you'll have to use the C socket
library.

Rennie