Class: ZeroConf::Discoverer
Constant Summary collapse
- DISCOVER_QUERY =
Resolv::DNS::Message.new 0
Constants included from Utils
Utils::BROADCAST_V4, Utils::BROADCAST_V6, Utils::DISCOVERY_NAME
Instance Attribute Summary
Attributes inherited from Client
Instance Method Summary collapse
-
#initialize(interfaces: ZeroConf.interfaces) ⇒ Discoverer
constructor
A new instance of Discoverer.
Methods inherited from Client
Methods included from Utils
#broadcast_v4, #broadcast_v6, #multicast_send, #open_ipv4, #open_ipv6, #unicast_send
Constructor Details
#initialize(interfaces: ZeroConf.interfaces) ⇒ Discoverer
Returns a new instance of Discoverer.
10 11 12 |
# File 'lib/zeroconf/discoverer.rb', line 10 def initialize interfaces: ZeroConf.interfaces super(nil, interfaces:) end |