method

each_address

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: MDNS
each_address(name) public

Iterates over all IP addresses for name retrieved from the mDNS resolver, provided name ends with “local”. If the name does not end in “local” no records will be returned.

name can be a Resolv::DNS::Name or a String. Retrieved addresses will be a Resolv::IPv4 or Resolv::IPv6

Show source
Register or log in to add new notes.