This is a distributed text chat solution, written as an example on how to
use the C++ Sockets library / framework.

It opens a telnet server at port 4404.
When a user opens a session, the user is prompted for which name to use.
Commands available after "login":

	/quit - end session

	/who - see who else is online

	anything else will be sent as text



Installation
============

You need a working minder.
I always try to have one working at "minder.alhem.net" port 9696.
If not, download and install the minder from
	http://www.minion.info/minder.html

For SSL operation, the minder needs a server public/private key pair.
By default, those keys are loaded from the file "comb.pem".
File not included in distribution, use openssl utilities to generate a
key pair.
	http://www.openssl.org/

Minder host/port is hardcoded in dchat.cpp - make sure they are correct
for the minder you want to use.

The minion connect interval is hardcoded at 60 seconds in this example.
So you must wait at least one minute before other minions are contacted.
Other minions might contact you earlier, though.


Minion encryption
=================

The key.h / key.cpp files are of much more use if a custom encryption
class is used instead of NullCrypt (which only base64-encodes whatever that
is to be sent).

