DittoTCPListenConfig

public struct DittoTCPListenConfig : Codable, Equatable

TCP listening configuration.

  • Indicates whether TCP listening is enabled.

    Declaration

    Swift

    public var isEnabled: Bool
  • IP interface to bind to, [::] by default.

    Declaration

    Swift

    public var interfaceIP: String
  • Listening port, 4040 by default.

    Declaration

    Swift

    public var port: UInt16
  • IP interface to bind to, [::] by default.

    Declaration

    Swift

    @available(*, deprecated, message: "Please use `interfaceIP` instead.")
    public var interfaceIp: String { get set }