# File lib/active_support/vendor/memcache-client-1.7.4/memcache.rb, line 1004 def connect_to(host, port, timeout=nil) io = MemCache::BufferedIO.new(TCPSocket.new(host, port)) io.read_timeout = timeout io end