How to register a service with Mono.ZeroConf?

前端 未结 5 1587
别跟我提以往
别跟我提以往 2021-02-04 18:47

I\'m trying to test the ZeroConf sample at http://www.mono-project.com/Mono.Zeroconf.

I\'m running OpenSuse 11 and Mono 2.2.

My server code is:

u         


        
5条回答
  •  旧时难觅i
    2021-02-04 19:30

    I've also tried to use the binaries provided at the Mono.Zeroconf project page and building the libs from source for use on Windows and was unable to publish a service that was findable by other clients. I tried both the example code on the site and the MZClient provided.

    After a little more digging I found a project that used to the Mono.Zeroconf libs. By using the binaries checked into the Growl for Windows project at Google Code (which appear to be the latest version 0.9.0) I was able to successfully publish a findable service with both the sample code and MZClient.

    So an apparent work around would be to grab the binaries (Mono.Zeroconf and Mono.Zeroconf.Providers.Bonjour) from that project and use those instead of the ones provided by the project.

提交回复
热议问题