Method: Rex::Socket::Ip.create

Defined in:
lib/rex/socket/ip.rb

.create(hash = {}) ⇒ Object

Creates the client using the supplied hash.



22
23
24
25
# File 'lib/rex/socket/ip.rb', line 22

def self.create(hash = {})
  hash['Proto'] = 'ip'
  self.create_param(Rex::Socket::Parameters.from_hash(hash))
end