Class: Resolv::DNS::Requester::TCP::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



746
747
748
# File 'lib/resolv.rb', line 746

def data
  @data
end

Instance Method Details

#sendObject



742
743
744
745
# File 'lib/resolv.rb', line 742

def send
  @sock.print(@msg)
  @sock.flush
end