From: Clint Hyde
Subject: a neat app-let in Lisp
Date: 
Message-ID: <3rabbg$hrt@info-server.bbn.com>
yesterday I wrote a WWW server for the TI Explorer. I'm sure it'd work
on a symbolics also, just by changing the stream-opening function.

~60 lines of code.

it ain't finished, obviously, and it isn't even well designed, as I had
to hack it together from an HTML book which has some examples of the
client/server interaction, and looking at exactly what X-Mosaic was
sending me.

it took three hours, 30 minutes of which was reading the TCP/IP manual
and trying to decide which TCP function was the right one for the job.
it was the easy function, but the manual doesn't make that explicitly
clear.

there are a variety of sloppy aspects to it, like the hack for
converting URLs into pathnames. at the moment, all it does it
html-file-serving (well, it'll give the client ANY file asked for if it
exists).

anyone who'd like a copy is welcome to it. I'll be doing some more work
on it in the near future (which means next week).

I have the beginnings of a client too, but I don't have THAT very far
along either, and it has equally many sloppy aspects (i.e., no graphics,
the tag reading mechanism is just wrong, font changes are ignored, etc.
however, anchors are properly mouse-sensitive).

anyone who'd like that too is also welcome. I'll be working on it soon
also, now that I have some understanding of the client/server
interactions...

 -- clint

i know, you're thinking "why didn't I just use John Mallery's code?"
I've looked at it, didn't understand it at all, and I really want a
client, not a server. this is just for practice purposes as much as
anything.