# File lib/network/acceptor.rb, line 54 def handle_input sckt = @sock.accept if sckt unless RUBY_PLATFORM =~ /win32/ sckt.fcntl(Fcntl::F_SETFL, Fcntl::O_NONBLOCK) end c = Connection.new(@server, sckt) if c.init log.info "(#{c.object_id}) Connection accepted." publish(c) end else raise "Error in accepting connection." end rescue Exception log.error $! end