ruby - how to reject incoming connections? -


i have tcpsocket , in cases (for example, when system limit) want reject new connections.

if not "accept" connection still in queue...

is in queue ? doesn't gets time-out , flushed ?

you might want keep buff accepting connection , closes that, kind of work in other thread, not affect work. not sure may helps..


Comments