Method: Rex::Socket#type?

Defined in:
lib/rex/socket.rb

#type?Boolean

Returns a string that indicates the type of the socket, such as ‘tcp’.

Returns:

  • (Boolean)

Raises:



741
742
743
# File 'lib/rex/socket.rb', line 741

def type?
  raise NotImplementedError, "Socket type is not supported."
end