Apple's Bonjour SDK for Windows

隐身守侯 提交于 2019-12-05 01:10:11

问题


I am planning to use Apple's Bonjour SDK for Windows in a small .NET application using C#. This little application will use Bonjour for network discovery. Currently, I am testing the "Simple Chat Bonjour" sample application that came with Apple's SDK. After I published that sample, I tried to run the setup on another machine it said Bonjour service is not available. I checked my original development machine, it had Boujour service installed and started. And if I stop the service, the sample app will not work.

Question: Does that mean that any workstation/client machine that will use any application that used Apple's Bonjour needed to have Apple's Bonjour SDK installed? If this is the case, is there another around this? (without having to install Bonjour SDK or service on client machine)


回答1:


You can get Bonjour for windows as a standalone installer which can be bundled with your application. See this page for the licence agreement and download Bonjour for windows here.




回答2:


I recently work on another project that I have decided to go ahead and use Bonjour. For the completeness of solution:

  1. Each Windows machine needed to have the Apple's Bonjour printing for Windows installed. The link is from CV's.

  2. There is an Apple Bonjour for Windows SDK. But I found that this third party wrapper is way better if you are already familiar with using Bonjour under iOS or OSX.



来源:https://stackoverflow.com/questions/8735899/apples-bonjour-sdk-for-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!