Method: Rex::Socket::Parameters#tcp?
- Defined in:
- lib/rex/socket/parameters.rb
#tcp? ⇒ Boolean
Returns true if the protocol for the parameters is TCP.
228 229 230 |
# File 'lib/rex/socket/parameters.rb', line 228 def tcp? return (proto == 'tcp') end |