This is a simple webchat system with really no fancy stuff.
It's written in JavaScript+html. No plugins, no flash, no java.
This client uses a persistent connection to the server to receive
messages in real time. It doesn't have to poll the server for new
messages like most other webchat systems.
The sending of messages unfortunately still requires a separate
request, since it doesn't seem to be possible to keep a bi-directional
connection open to the server. At least not until browsers start
implementing web-sockets...
To start the client, enter a nickname and click start: START
The CGI interface to the web world. Handles both the
persistent connections and the message-sending requests, and
transports messages to/from the chat server.
The actual chat server. Listens on a local UNIX socket for
connections from chat.py and processes and routes messages
between clients. Not really commented, and probably unreadable
for people not familiar with unix network programming =)