Method: Rex::Socket::Parameters#udp?
- Defined in:
- lib/rex/socket/parameters.rb
#udp? ⇒ Boolean
Returns true if the protocol for the parameters is UDP.
235 236 237 |
# File 'lib/rex/socket/parameters.rb', line 235 def udp? return (proto == 'udp') end |