because it is only available for CSA's official testing server and does
not belong to the CSA standard protocol. Therefor, when clients receive
`CHALLENGE ACCEPTED' from this server, they must ignore it.
+ - Show revision in a start up messeage.
2007-04-01 Daigo Moriwaki <daigo at debian dot org>
server = WEBrick::GenericServer.new(config)
["INT", "TERM"].each {|signal| trap(signal){ server.shutdown } }
- $stderr.puts("server started as a deamon") if $options["daemon"]
- log_message("server started")
+ $stderr.puts("server started as a deamon [Revision: #{ShogiServer::Revision}]") if $options["daemon"]
+ log_message("server started [Revision: #{ShogiServer::Revision}]")
server.start do |client|
# client.sync = true # this is already set in WEBrick