<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Network",
  "identifier" : "/documentation/Network/Bonjour/Endpoint",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Network"
    ],
    "preciseIdentifier" : "s:7Network7BonjourV8EndpointV"
  },
  "title" : "Bonjour.Endpoint"
}
-->

# Bonjour.Endpoint

An endpoint for a discovered Bonjour service.

```
struct Endpoint
```

## Topics

### Operators

[`static func == (Bonjour.Endpoint, Bonjour.Endpoint) -> Bool`](/documentation/Network/Bonjour/Endpoint/==(_:_:))

Compare two endpoints for equality.

### Instance Properties

[`var description: String`](/documentation/Network/Bonjour/Endpoint/description)

A description of this endpoint to be used for logging and debugging purposes.

[`let domain: String`](/documentation/Network/Bonjour/Endpoint/domain)

The Bonjour domain of the endpoint.

[`var id: String`](/documentation/Network/Bonjour/Endpoint/id)

A unique identifer for the endpoint.

[`let name: String`](/documentation/Network/Bonjour/Endpoint/name)

The Bonjour name of the endpoint.

[`var nwEndpoint: NWEndpoint`](/documentation/Network/Bonjour/Endpoint/nwEndpoint)

The NWEndpoint to use when connecting to this result.

[`let result: NWBrowser.Result`](/documentation/Network/Bonjour/Endpoint/result)

A snapshot of the endpoint at some point in time on the network.

[`let txtRecord: NWTXTRecord`](/documentation/Network/Bonjour/Endpoint/txtRecord)

TXT records provide additional information about an endpoint
during advertisement or discovery.

[`let type: String`](/documentation/Network/Bonjour/Endpoint/type)

The Bonjour type of the endpoint.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Identifiable`](/documentation/Swift/Identifiable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Connectable`](/documentation/Network/Connectable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)