>Hello,
>
>I am facing a problem with not getting an error, I am running two
>applications
>both have the following piece of code.
>
>1. Register a service with the some name and some type on a host.
>
>2. Service is registered , I am able to see the service with the sample
>program at
>http://developer.apple.com/samplecode/Sample_Code/Networking/DockBrowser.htm
>
>3. Now keep the application running.
>
>4. Try to register the same service with the same piece of code, from some
>other application but on the same host. I am able to do it without getting an
>error and when I try to browse the service with the same sample program "Dock
>Browser"
>I am able to see only one service.
>
>Am I doing something wrong ? Please advice.
Is the port number different? If not, as Marc says, you'll get no error
because there's no conflict or disagreement between the two sets of data.
Note that your callback is called with the asynchronous conflict
notification. It's not a return code from CFNetServiceRegister().
Stuart Cheshire <email@hidden>
* Wizard Without Portfolio, Apple Computer, Inc.
* www.stuartcheshire.org
_______________________________________________
rendezvous mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/rendezvous
Do not post admin requests to the list. They will be ignored.