class MDNS::Server
- MDNS::Server
- Reference
- Object
Overview
this is the basis for a full Continuous Multicast DNS Querying service this implements a very basic transport layer
Defined in:
comms/server.crConstructors
-
.new(address : Socket::IPAddress, buffer_size = 16, loopback = false, hops = 255)
Usage:
MDNS::Server.new(MDNS::IPv4)
Instance Method Summary
- #address : Socket::IPAddress
- #channel : MessageChannel
- #close
- #closed?
-
#query(&)
this is only required if the information is not already in a cache built from the messages being pushed down the channel
- #query(domain : String, type : Type = Type::PTR, klass : RecordClass = RecordClass::Internet)
-
#receive
receive a mDNS message
- #socket : UDPSocket
Constructor Detail
Usage: MDNS::Server.new(MDNS::IPv4)
Instance Method Detail
def query(&)
#
this is only required if the information is not already in a cache built from the messages being pushed down the channel