Create a new project under the template of Mac OS X > Application > Command Line Tool. Then, install Xcode if you haven't already. To run DNSServiceMetaQuery on Mountain Lion (the included build does not run properly), go to the sample code link and click Download Sample Code. Machines must be running mDNSResponder-58.6 (Mac OS X 10.3.4) or later in order to respond to this query. This sample uses DNSServiceQueryRecord to send a Multicast DNS query that returns a list of Bonjour service types being advertised on the local network. Another strategy is to run something like dns-sd -B _home-sharing._tcp which remains open and reports when instances are added or removed, then, one by one, quit various apps and (assuming it's not a system service) see which one's quitting triggers the removal message.Īlthough classified as a legacy article, this very may well be what you are looking for: DNSServiceMetaQuery. You can use the strategy given in binarybob's answer to try to map service entries to running processes based on port number, but this may not always work. Whichever way you do it, though, it may not always be clear what program is responsible for a given service entry. To be honest, though, this whole process is rather tedious, and it's exactly what Discovery (formerly Bonjour Browser) was built to do, so I highly recommend using that. Using that list, you can request information about the individual services types by running things like dns-sd -B _home-sharing._tcp (which lists iTunes Home Sharing instances), and then, given an instance name, you can run dns-sd -L "Wes Campaigne’s Library" _home-sharing._tcp to lookup information for a particular instance. (The list is per interface, so there will be some redundancy.) If this is done on a Mac with no active network connection, the list will of course only contain services running on that machine. Running dns-sd -B _services._dns-sd._udp will return a list of all available service types that currently being advertised. Then you have to go with Emulator mandatorily.The dns-sd command-line tool can be helpful for this, but learning to use it is a bit tricky. Most of the Android app has not the EXE (executable file of Bonjour Browser) or DMG (Disk Image file of Bonjour Browser). But you have to prefer the 32bit or 64bit properly. If found the Bonjour Browser.exe or Bonjour Browser.dmg, then download the versions you want. Then find the download option of the Bonjour Browser software. So you should visit the official app landing page with the related apps. Maybe you are not interested in using the Bonjour Browser on the computer with Emulators. #3 Use Bonjour Browser For PC Without BlueStacks & Nox
0 Comments
Leave a Reply. |