Method: RTunnel::SocketFactory.bind_host

Defined in:
lib/rtunnel/socket_factory.rb

.bind_host(options) ⇒ Object



25
26
27
# File 'lib/rtunnel/socket_factory.rb', line 25

def self.bind_host(options)
  options[:in_host] or host_from_address(options[:in_addr]) or '0.0.0.0'
end