I'm trying to make a simple concept demonstration app the code of which I may use in the future. Specifically I want to have an iPhone running an app that sends XML data to a Bonjour service. I already have an Objective-C app that runs on mac and does this, but I need to make one on Windows with a strong preference for Mono Zeroconf because the project may involve the use of the Mono framework later on.
To this end I need a working sample of using the Mono Zeroconf library. The examples I could find on the website are not sufficient. ALl that they allow me to do is to register a service, but nothing after that. Specifically I have this:
RegisterService service = new RegisterService();
service.Name = "AirControlServer";
service.RegType = "_http.tcp.";
service.ReplyDomain = "local.";
service.Port = 3689;
service.Register();
And now I have absolutely no clue what to do. If someone could link me to some sample code or something, that would be really nice.
Thank you.