@eskimo Can you expand on the following please?
Seriously though, Bonjour makes this all much better because the remote peer has a mDNS host name, and you can pass that to URL rather than monkey around with IP addresses.
How can I go from a NWBrowser.Result (or NWEndpoint) to a URL? I'm guessing it's simple/obvious, but I'm totally missing it.
My particular use case is discovering a service on my local network — which in my case is returning an IPv6 link local address — and making a HTTP GET request to it. I'm at a loss how to construct a URL to do so.
Topic:
App & System Services
SubTopic:
General
Tags: