🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.web
3 messages
3 total messages Started by Mark Jacobs Thu, 11 Jan 2007 16:04
In BCB5, what is the easiest way to write a simple web server?
#393
Author: Mark Jacobs
Date: Thu, 11 Jan 2007 16:04
10 lines
1322 bytes
I want to write a simple web server app (having played with the Java "Simple 
Server" example at http://dattaraj_rao.tripod.com/Java/ ).

Any ideas on how to do this without using Indy? TIA,
-- 

-
Mark Jacobs
DK Computing
http://www.dkcomputing.co.uk 
Re: In BCB5, what is the easiest way to write a simple web server?
#394
Author: Remy Lebeau (TeamB)
Date: Thu, 11 Jan 2007 18:40
14 lines
1364 bytes
"Mark Jacobs" <http://www.jacobsm.com/mjmsg?Borland%20Newsgroup> wrote
in message news:45a6600b@newsgroups.borland.com...

> Any ideas on how to do this without using Indy?

There is no "simple" way to write a web server, because HTTP is not a
simple protocol to implement in the first place.  It can be quite
complex, actually.  You really should use a pre-made library (Indy or
other) as the basis of your code.  Don't try to implement it from
scratch.


Gambit
Re: In BCB5, what is the easiest way to write a simple web server?
#396
Author: Mark Jacobs
Date: Mon, 15 Jan 2007 12:56
22 lines
2022 bytes
Remy Lebeau (TeamB) wrote:
> "Mark Jacobs" <http://www.jacobsm.com/mjmsg?Borland%20Newsgroup> wrote
> in message news:45a6600b@newsgroups.borland.com...
>
>> Any ideas on how to do this without using Indy?
>
> There is no "simple" way to write a web server, because HTTP is not a
> simple protocol to implement in the first place.  It can be quite
> complex, actually.  You really should use a pre-made library (Indy or
> other) as the basis of your code.  Don't try to implement it from
> scratch.

Thanks for that. It is complex! However, I did find an absolutely fabulous 
small, free Windows-based web server that, IMO, is better than Apache and IIS. 
It is called Key Focus Web Server (KFWS) and is available at 
http://www.keyfocus.net/kfws/ - cool dudes, spread the word!
-- 

-
Mark Jacobs
DK Computing
http://www.dkcomputing.co.uk 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads