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++?
相关问题
- Inheritance impossible in Windows Runtime Componen
- how to call a C++ dll from C# windows application
- how to get running process information in java?
- efficiently calling unmanaged method taking unmana
- Is TWebBrowser dependant on IE version?
相关文章
- 如何让cmd.exe 执行 UNICODE 文本格式的批处理?
- 怎么把Windows开机按钮通过修改注册表指向我自己的程序
- Warning : HTML 1300 Navigation occured?
- Bundling the Windows Mono runtime with an applicat
- Windows 8.1 How to fix this obsolete code?
- CosmosDB emulator can't start since port is al
- How to print to stdout from Python script with .py
- Determine if an executable (or library) is 32 -or
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:
There isn't any easy way to find indepth Bonjour windows documentation, (and it's a serious shame) but here's the manpage for its mac equivalent:
http://developer.apple.com/.../dns-sd.1.html
There is also
C:\Windows\system32\dnssd.dll
whose API, I unfortunately have to suppose, conforms to this document:http://developer.apple.com/.../dns_sd_h/
This is rather old question... however as I had recently implemented Bonjour functionality in Windows for one project, have some insight into it. There is a Bonjour SDK for Windows from Apple developer site with examples in C, C#, etc. In C examples folder there is a complete source for dns-sd client which you can then use to build your own client (for registering services, names, etc.). As that is C, you can then easily pack this functionality as dll and then allow and other languages to use it (for example, C#).
Bonjour SDK for Windows @ developer.apple.com