What programming languages ​​can I use to write Bonjour software?

Am I really limited to programming languages? I can imagine that to use Bonjour I need special libraries that may not be available in any language. So then I need to use those languages ​​that have the appropriate libraries. As a second option, I can imagine that Bonjour provides an interface that can be used in almost any language (for example, Bonjour saves information in a special file or in environment variables, and I can use most languages ​​to access this information).

PS I have a special interest in PHP.

+3
source share
4 answers

Many languages ​​have ZeroConf bindings, including Java and .Net, and there is an example of using this in Python here . He uses D-Bus to talk with daeomon. This list of D-Bus bindings includes PHP, Python, Perl, Java, .Net, C ++, Haskell, OCaml, Squeak, and many more. There’s even Pascal’s binding!

No, you are not very limited to programming languages.

+2
source

You will have more luck finding ZeroConf, which is the name of the actual protocol, rather than Bonjour, which is a specific implementation of the Apple protocol.

+1
source

Apple Bonjour Windows SDK COM-, PHP COM.

SDK. PHP , .

API Bonjour Mac OS X.

+1

, PHP, php5-avahi: http://code.google.com/p/php5-avahi/

( ), , : Bonjour (aka, Avahi, Zeroconf, Rendevous, mDNS) / PHP.

, (4 , 2009 ). , .

, , Benjamin

0

Source: https://habr.com/ru/post/1735402/


All Articles