1 # -*- encoding: binary -*-
3 class Rainbows::Coolio::Server < Coolio::IO
4 CONN = Rainbows::Coolio::CONN
5 # CL and MAX will be defined in the corresponding worker loop
8 return if CONN.size >= MAX
9 io = @_io.kgio_tryaccept and CL.new(io).attach(LOOP)