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

Inherits:
Sender
  • Object
show all
Defined in:
lib/resolv.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

- (Object) data (readonly)

Returns the value of attribute data



772
773
774
# File 'lib/resolv.rb', line 772

def data
  @data
end

Instance Method Details

- (Object) send



769
770
771
# File 'lib/resolv.rb', line 769

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