Displaying 1 result from an estimated 1 matches for "set_descriptor_table_size".
2007 Sep 14
3
epoll appears to break
...t_init
   puts "Connection from #{Socket.unpack_sockaddr_in(get_peername).inspect}"
   set_comm_inactivity_timeout 60
 end
 def receive_data data
   send_data ">>>you sent: #{data}"
   close_connection if data =~ /quit/i
 end
end
EventMachine::epoll
puts EventMachine::set_descriptor_table_size
EventMachine::run {
 EventMachine::start_server "127.0.0.1", 8081, EchoServer
}
 -- 8< ---------