Here's a little multiuser chat server written for various POSIX-compatible operating systems. Written and tested on Mac OS X 10.6, but it should work on your favorite Linux, too.
Placed in public domain, use it for whatever you want (since it's so simple). 177 lines of pure C powah, dood.
Code follows after the break.