Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

service shows up twice when host has two active network interfaces



I'm setting up a basic network service that is published and detected using Rendezvous. I have noticed that if a computer has two network interfaces active (e.g. ethernet and ip over firewire) then I get two instances of the service when I browse the network.

Is there any standard workaround for this? My service discovery method looks like this:

-(void)netServiceBrowser:(NSNetServiceBrowser *)aNetServiceBrowser
          didFindService:(NSNetService *)aNetService
              moreComing:(BOOL)moreComing {

[discoveredServices addObject:aNetService]; // An NSMutableArray of services
[serviceController addObject:aNetService]; // An NSArrayController used in my gui


  [aNetService setDelegate:self];
  [aNetService resolve];

}

Thanks for any suggestions,

Rick Hoge
_______________________________________________
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.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.