method

old_open

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: Net::InternetMessageIO
old_open(addr, port, open_timeout = nil, read_timeout = nil, debug_output = nil) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/net/protocol.rb, line 206
    def InternetMessageIO.old_open(addr, port,
        open_timeout = nil, read_timeout = nil, debug_output = nil)
      debug_output << "opening connection to #{addr}...\n" if debug_output
      s = timeout(open_timeout) { TCPsocket.new(addr, port) }
      io = new(s)
      io.read_timeout = read_timeout
      io.debug_output = debug_output
      io
    end
Register or log in to add new notes.