问题
I want to know how to implement bonjour on windows, so that i can set up server on windows and access files in windows(server) using bonjour service from my iphone(client).
Can anyone tell me whether we have any java api for windows or any bonjour sdk for windows? Thanks in advance..
回答1:
Have a look at Apple's bonjour SDK page. They provide an SDK for Windows there. I think it's written in C.
回答2:
This page describes how to develop for Bonjour for Windows. It also gives a link to the download page for the Windows API, including headers and libraries for C and Java.
http://support.apple.com/downloads/Bonjour_for_Windows
回答3:
Note that Bonjour is only for notifying other devices that a service is present on the network, it doesn't handle the actual file transfer.
There is a Java implementation called Rendezvous Proxy that broadcasts bonjour notifications, may be all you need on your server?
Web page is here: http://ileech.sf.net/RendezvousProxy/
Don't think the source is open though.
回答4:
Yes there is, check the links on this page
http://developer.apple.com/softwarelicensing/agreements/bonjour.html
来源:https://stackoverflow.com/questions/1951726/is-there-a-bonjour-sdk-for-windows