Class: Resolv::DNS::Requester::UnconnectedUDP::Sender
Do not use. This class is for internal use only.
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
|
|
Instance Chain:
|
|
Inherits: |
Resolv::DNS::Requester::Sender
|
Defined in: | lib/resolv.rb |
Class Method Summary
- .new(msg, data, sock, host, port) ⇒ Sender constructor
::Resolv::DNS::Requester::Sender
- Inherited
Instance Attribute Summary
- #data readonly
Instance Method Summary
Constructor Details
.new(msg, data, sock, host, port) ⇒ Sender
Instance Attribute Details
#data (readonly)
[ GitHub ]# File 'lib/resolv.rb', line 799
attr_reader :data
Instance Method Details
#send
[ GitHub ]# File 'lib/resolv.rb', line 801
def send raise "@sock is nil." if @sock.nil? @sock.send(@msg, 0, @host, @port) end