# File lib/em/protocols/socks4.rb, line 20 20: def initialize(host, port) 21: @host = Socket.gethostbyname(host).last 22: @port = port 23: @socks_error_code = nil 24: @buffer = '' 25: setup_methods 26: end