R
Roger Pack
Hmm. If you create a method thus:
class TCPSocket
def readableNow?
r,w,e = select([self],nil,nil,0)
return r != nil
end
end
It turns out to use a select OTHER than IO.select. Anyone know, by
chance what the 'internal' select method does?
Thanks.
-Roger
class TCPSocket
def readableNow?
r,w,e = select([self],nil,nil,0)
return r != nil
end
end
It turns out to use a select OTHER than IO.select. Anyone know, by
chance what the 'internal' select method does?
Thanks.
-Roger