Method: Rex::Socket.create
- Defined in:
- lib/rex/socket.rb
.create(opts = {}) ⇒ Object
Create a socket instance using the supplied parameter hash.
39 40 41 |
# File 'lib/rex/socket.rb', line 39 def self.create(opts = {}) return create_param(Rex::Socket::Parameters.from_hash(opts)) end |