Re: Gluing from NSNetService to FSMountServerVolumeSync()
Re: Gluing from NSNetService to FSMountServerVolumeSync()
- Subject: Re: Gluing from NSNetService to FSMountServerVolumeSync()
- From: Jerry Krinock <email@hidden>
- Date: Sun, 28 Jun 2009 15:55:34 -0700
Well, I tried "resolving" like I said yesterday and it seems to work.
But there was more ... extracting the IP (v4) addresses from the
NSNetService instances' -addresses using code adapted from here:
http://developer.apple.com/qa/qa2001/qa1298.html
I'm not posting my code because it spans several files and might
exceed the 25K of Apple's boards, and also because I find it hard to
believe there's not an easier way.
Someone please embarrass me by naming the one-line API that I could
have used to find the computer names and IP addresses of the servers
on the local network.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden