How to advertise a Bonjour Service in Visual C++
问题 I'm trying to figure out if this is even possible, but what's the simplest way of advertising a Bonjour service through Visual C++? 回答1: You can use the DNS Service Discovery client: dns-sd . Windows Bonjour Installer puts it in C:\Windows\system32\dns-sd.exe Its synopsis is: dns-sd -R name type domain port [key=value ...] dns-sd -B type domain dns-sd -L name type domain There isn't any easy way to find indepth Bonjour windows documentation , (and it's a serious shame) but here's the manpage