I'm developping a remote control on iPhone for Mac OS and Windows. I use Bonjour framework and it's working well on Mac OS. I can see on my iPhone the different Mac devices which have my server.
I would like to do the same thing on Windows with language C or C#. I haver wrote a piece of code it does'nt work : my iPhone does'nt see the service. Here's a line of code that can be wrong I think :
if(DNSServiceRegister(&service, 0, 0, HostName, "_esiearemote._tcp.", "", NULL,htonl(PORT), 0, NULL, reg_reply, NULL)!=kDNSServiceErr_NoError)
Have you got an idea ? Thanks a lot !