Path: | examples/chatserver.rb |
Last Update: | Thu Jan 06 02:26:49 +0000 2011 |
This is an extremely crude and simple single-threaded multiplexing chat server. It (hopefully) demonstrates how to use a Poll object to do IO multiplexing with events.
$ chatserver.rb [HOST [PORT [POLLDELAY]]]
Michael Granger <ged@FaerieMUD.org>
Copyright (c) 2002 The FaerieMUD Consortium. All rights reserved.
This program is free software. You may use, modify, and/or redistribute this software under the same terms as Ruby itself.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$Id: chatserver.rb,v 1.2 2002/07/20 16:03:01 deveiant Exp $