Walle Wallen wrote: > Hey, I have a minor problem with my IRC bot. It disconnects every while > and then, often with a few days in between. My problem lies in the > reconnecting procedure. The bot does not notice when it has been > disconnected. I have tried Socket.closed?, time-out timer for the select > IO. Nothing seems to work. > > Any idea why? Maybe you have to detect when it sends you an empty string? (that usually means the socket has closed). If it's a bug report it though. -rp -- Posted via http://www.ruby-forum.com/.