Gluing from NSNetService to FSMountServerVolumeSync()
Gluing from NSNetService to FSMountServerVolumeSync()
- Subject: Gluing from NSNetService to FSMountServerVolumeSync()
- From: Jerry Krinock <email@hidden>
- Date: Sat, 27 Jun 2009 22:37:13 -0700
I discover NSNetService objects on the local network using
NSNetServiceBrowser, and need to mount such a service using
FSMountServerVolumeSync().
It does not work if in the URL I use the -name of the NSNetService
(which is also the "Computer Name"):
afp://Newhall/NewhallHD
This doesn't work either:
afp://Newhall.local/NewhallHD
But it works if I give it the computer's IP address, which I know
because it's over on the next desk:
afp://10.0.1.201/NewhallHD
Is this expected behavior? Documentation says that url should be "The
server to mount". Period. :(
If so, as long as I've got you on the line, -[NSNetService address]
returns an empty set. Will this return the IP address after I -
resolve it?
Thanks,
Jerry Krinock
_______________________________________________
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