Method: Rex::Socket.create_udp
- Defined in:
- lib/rex/socket.rb
.create_udp(opts = {}) ⇒ Object
Create a UDP socket using the supplied parameter hash.
67 68 69 |
# File 'lib/rex/socket.rb', line 67 def self.create_udp(opts = {}) return create_param(Rex::Socket::Parameters.from_hash(opts.merge('Proto' => 'udp'))) end |