简体   繁体   English

跨平台Bonjour

[英]Cross-Platform Bonjour

Is it possible to write a program using Bonjour or a Bonjour-compatible library in a cross-platform language such as Java or Python? 是否可以使用Bonjour或与Bonjour兼容的库以跨平台语言(例如Java或Python)编写程序? If so, where can I find the files needed for this? 如果是这样,我在哪里可以找到所需的文件?

For Java have a look at the jmdns library which does it all in pure Java. 对于Java,请查看jmdns库,该库全部在纯Java中完成。 http://jmdns.sourceforge.net/ http://jmdns.sourceforge.net/

I do not believe it can delegate to the native implementation if running on OS X, but it has been a while, so it might these days. 我认为,如果在OS X上运行,它不能委派给本机实现,但是已经有一段时间了,所以现在可能如此。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM