# File lib/moped/connection/socket/connectable.rb, line 16 def alive? if Kernel::select([ self ], nil, [ self ], 0) !eof? rescue false else true end rescue IOError false end