Unfortunately I wasn't able to solve it with DNS-SD either. However managed to do a workaround with this sample code:
https://developer.apple.com/library/archive/samplecode/SimplePing/Introduction/Intro.html
I pinged the IP addresses on the local network.
Post
Replies
Boosts
Views
Activity
Also one other thing I checked is that in wireshark I tried to see what packets are being sent.
From the computer I can see the following:
3348 170.255747 192.168.0.109 224.0.0.251 MDNS 124 Standard query 0x0000 PTR _http._tcp.local, "QU" question A justfit2f2e50.local, "QU" question PTR justfit2f2e50._http._tcp.local
But from the iPad on this gets sent:
6559 370.688798 192.168.0.102 224.0.0.251 MDNS 104 Standard query 0x0000 PTR _http._tcp.local, "QU" question PTR justfit2f2e50._http._tcp.local