Class: Resolv::DNS::Requester::ConnectedUDP::Sender

Inherits:
Sender
  • Object
show all
Defined in:
lib/fresolv.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Sender

#initialize

Constructor Details

This class inherits a constructor from Resolv::DNS::Requester::Sender

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



795
796
797
# File 'lib/fresolv.rb', line 795

def data
  @data
end

Instance Method Details

#sendObject



792
793
794
# File 'lib/fresolv.rb', line 792

def send
  @sock.send(@msg, 0)
end