agemoagemo / yahoo.com wrote:
> (I wish I could find a function that would be like 
> "Okay, give me *everything* that I could read from the
> 
> socket right now." Or even just a way to check how
> much 
> is waiting on the socket... Pretty much everything
> I've
> ever tried to do with sockets would be easeir with
> that.)

socket.read will do that.

Socket < BasicSocket < IPSocket < IO

IO has lots of other indispensable methods when dealing with sockets.

Cheers,
Dave