DiscoveryConfig

Configuration aliases for multicast beacon discovery.

Every member re-exports a value from PeerConstants under a discovery-domain name. Do not hard-code literal values here — always point back at PeerConstants so a single-point edit there remains sufficient.

Properties

Link copied to clipboard
const val GROUP_V4: String

Alias for PeerConstants.MULTICAST_GROUP_V4 — the IPv4 multicast group used for discovery.

Link copied to clipboard
const val MAX_DATAGRAM: Int

Alias for PeerConstants.MAX_DATAGRAM_SIZE — the maximum inbound datagram size the discovery socket will buffer.

Link copied to clipboard
const val PORT: Int

Alias for PeerConstants.MULTICAST_PORT — the UDP port used for discovery.

Link copied to clipboard
const val TTL: Int

Alias for PeerConstants.MULTICAST_TTL — the IP multicast TTL for beacon packets.