Method: Rex::Socket::Parameters#proto

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

#protoString

The protocol to to use, such as TCP. Equivalent to the Proto parameter hash key.

Returns:

  • (String)


295
296
297
# File 'lib/rex/socket/parameters.rb', line 295

def proto
  @proto
end