From: Yohanes Santoso Date: 2004-07-24T08:41:08+09:00 Subject: Re: [Q] Is there any way to do a non-blocking TCPSocket#recv? "Warren Brown" writes: > isn't any (instead of simply returning 0 bytes or nil). There is no > #select method in any of the classes to test for data availability, so IO.select. Object begats IO. IO begats BasicSocket. BasicSocket begats IPSocket. IPSocket begats TCPSocket. :) So, there is a TCPSocket.select, but usually people use IO.select or Kernel.select (all are just different names for the same thing). YS.