instance method connect_to

Ruby on Rails 2.3.18

Since v2.3.18 Last seen in v2.3.18

Signature

connect_to(host, port, timeout=nil)

No documentation comment.

Parameters

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

Defined in activesupport/lib/active_support/vendor/memcache-client-1.7.4/memcache.rb line 1003 · View on GitHub · Improve this page · Find usages on GitHub

Defined in MemCache::Server

Type at least 2 characters to search.

↑↓ navigate · open · esc close