[DGD] HTTP-daemon

Rickard Nilsson mysticum at home.se
Fri Aug 9 22:04:51 CEST 2002


Thanks for the files, but I can't get them work correctly, because I miss
some kernel-files in my lib. Where can I get them?

/Rickard

----- Original Message -----
From: "John West McKenna" <john at ucc.gu.uwa.edu.au>
To: <dgd at list.imaginary.com>
Sent: Friday, August 09, 2002 9:38 PM
Subject: Re: [DGD] HTTP-daemon


> Rickard Nilsson writes:
>
> >Was it someone that had a HTTP-daemon, or what?
> >I would be very glad if someone please could send it to me in that
case...
>
> Sorry for the delay.  It's nowhere near what I'd call a real HTTP-daemon,
> but just to show how trivial a minimal server is, here it is:
>
> http://www.ucc.gu.uwa.edu.au/~john/dgd/http.tar
>
> There's a few infernoisms in there, but I'm sure you'll have no trouble
> converting it to run on some other system.
>
> spider.c is the control object.  It's not part of the server - it just
> gives a user commands to start and stop the server.
>
> http_port.c is the DGD port object that sits on the http port waiting for
> connections.  When someone connects, it creates an http_connection object.
>
> http_connection.c is the object that deals with your connection.  It's the
> bare minimum - say "GET" to it, and it gives you a file.
>
> Making this comply with the relevant RFCs is an exercise for the reader.
>
> John
>
> _________________________________________________________________
> List config page:  http://list.imaginary.com/mailman/listinfo/dgd
>

_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list