"set_member?" => "sismember",
"set_members" => "smembers",
"set_intersect" => "sinter",
"set_member?" => "sismember",
"set_members" => "smembers",
"set_intersect" => "sinter",
"set_inter_store" => "sinterstore",
"set_union" => "sunion",
"set_union_store" => "sunionstore",
"set_diff" => "sdiff",
"set_diff_store" => "sdiffstore",
"set_move" => "smove",
"set_inter_store" => "sinterstore",
"set_union" => "sunion",
"set_union_store" => "sunionstore",
"set_diff" => "sdiff",
"set_diff_store" => "sdiffstore",
"set_move" => "smove",
raise Timeout::Error, "Timeout connecting to the server"
end
else
sock = TCPSocket.new(host, port, 0)
end
raise Timeout::Error, "Timeout connecting to the server"
end
else
sock = TCPSocket.new(host, port, 0)
end
# If the timeout is set we set the low level socket options in order
# to make sure a blocking read will return after the specified number
# If the timeout is set we set the low level socket options in order
# to make sure a blocking read will return after the specified number