Antonin Amand
8/29/2008 10:51:00 AM
As your on the client side you do not bind you connect.
More generally you should not try to modify your socket at runtime
because it is not the way it is designed to be used.
I'm not talking about how ruby implements but about underlying system
calls.
You'd rather create a pool of sockets before your main loop. And you'd
iterate over the pool during your main loop.
Regards,
Antonin