Public domain in the USA. As close as possible elsewhere (as there are countries that don't recognize public domain, apparently). Attribution welcome, but not necessary. Job offers in the Chicago area also welcome (hint hint :P ). Just to clear that up. Wouldn't have thought such a simple program would need it.
I wrote this when I was 16 in high school so a friend and I could chat during Comp Sci class using Telnet to connect to the server on my home computer; I wrote the client program later for kicks. I'd highly recommend rewriting your own chat server from scratch; once you've done that once... IRC protocol (or at least something with multiple rooms) is not that difficult (besides server-to-server connections ;).
For those who have used this program for class projects/homework, I would strongly suggest that you write your own chat server / client. Or even a simple web server. There are certain patterns evident in any server (ie a thread per connection, tables for usernames vs. sockets, etc). Use it as an example, don't just copy code (even though you are perfectly free to do so).
I'm currently working on a programming language (and compiler) that is based in part on C#/Java, called Telesto at telesto.sf.net . (end plug)
!--removed tag-->
Enter your message below
Sign in or Join us (it's free).