DittoLANConfig
public struct DittoLANConfig : Codable, Equatable
P2P LAN configuration to configure peer discovery via mDNS or multicast.
Part of DittoPeerToPeer
.
-
Indicates whether P2P LAN transport is enabled or not. Default is
false
.Declaration
Swift
public var isEnabled: Bool
-
Indicates whether mDNS is enabled or not. Default is
true
.Declaration
Swift
public var isMDNSEnabled: Bool
-
Indicates whether multi-cast is enabled or not. Default is
true
.Warning
Multicast is deprecated. Please use mDNS instead.
Declaration
Swift
public var isMulticastEnabled: Bool
-
Indicates whether mDNS is enabled or not. Default is
true
.Declaration
Swift
@available(*, deprecated, message: "Please use `isMDNSEnabled` instead.") public var ismDNSEnabled: Bool { get set }