# File examples/chatserver.rb, line 173
        def initialize( listenHost="0.0.0.0", listenPort=1138, interval=0.20 )
                raise "This server requires the POLLRDNORM and POLLWRNORM constants, which " +
                        "don't seem to be defined by your machine's implementation. Sorry. " unless
                        Poll.const_defined?( :RDNORM ) && Poll.const_defined?( :WRNORM )

                @socket                       = TCPServer::new( listenHost, listenPort )
                @users                        = []
                @pollObj              = Poll::new
                @pollInterval = interval
                @shuttingDown = false

                @pollObj.register @socket, Poll::RDNORM, method(:handlePollEvent)
        end