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

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

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



711
712
713
# File 'lib/resolv.rb', line 711

def data
  @data
end

Instance Method Details

#sendObject



708
709
710
# File 'lib/resolv.rb', line 708

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