Home | History | Annotate | Download | only in netprotos

Lines Matching defs:host

54     """Implements a simulated Zeroconf daemon running on the given host.
57 a host exposing services or consuming services over mDNS.
59 def __init__(self, host, hostname, domain='local'):
60 """Initializes the ZeroconfDameon running on the given host.
62 For the purposes of the Zeroconf implementation, a host must have a
64 by default advertise the host address it is running on, which is
67 @param host: The Host instance where this daemon runs on.
70 self._host = host
85 # Register the host address locally.
86 self.register_A(self.full_hostname, host.ip_addr)
90 self._sock = host.socket(socket.AF_INET, socket.SOCK_DGRAM)
102 def host(self):
103 """The Host object where this daemon is running."""
121 """The full hostname designation including host and domain name."""
211 This method uses the undelying Host to send an IP packet with a mDNS
233 A SRV record defines a service on a port of a host with given properties
235 "service.proto.domain". The target host, this is, the host where the
236 announced service is running on is set to the host where this zeroconf
269 # The target host (srvname) requires to send an A record with its IP
281 @param hostname: The full host name, for example, "somehost.local".
282 @param ip_addr: The IPv4 address of the host, for example, "192.0.1.1".
354 a service or host name.