Server Internals


This technical brief describes the inner workings of the generic hypertext daemon (server) program. As a core component of the WorldWideWeb project, it handles requests across the multiverse via TCP connections.

Implementation Logic

The hypertext daemon, similar to the FTP daemon, responds to an incoming TCP connection to provide hypermedia services to the caller. The primary control loop manages how connections are handled based on the underlying architecture.

The SELECT Option

A compilation option (SELECT) controls whether more than one connection can be handled at a time. This is dependent on whether the TCP/IP implementation provides a working select() routine.

Note that in neither case does the daemon concurrently serve two clients or fork off processes to handle multiple requests simultaneously.

Source Modules

The core logic is modularized to allow for different server flavors while sharing common WorldWideWeb libraries:

Tim Berners-Lee / CERN