| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
An individual NSNetService instance may be publishing itself on multiple ports or addresses. Once an NSNetService instance is resolved you can get the array of addresses from the instance using the -addresses method. Each entry is an NSData containing a struct sockaddr_in (or the IPv6 version thereof) which you can pick at for the port for that particular service.
-- Andrew White _______________________________________________ Do not post admin requests to the list. They will be ignored. Rendezvous-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/rendezvous-dev/email@hidden
| References: | |
| >OS X / Xcode: Getting TXT record using NSNetServiceBrowser (From: Andrew White <email@hidden>) | |
| >Re: OS X / Xcode: Getting TXT record using NSNetServiceBrowser (From: Chris Parker <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.