Hi,
I use to mount a volume with the old API
    FSMountServerVolumeSync
and it works well. My question is, should I use a Cocoa version of this API?
If so, which one?

Also, in my "very old" code, before I call this API, I use to Ping the host.
I can't recall why I Ping the host before this calling
FSMountServerVolumeSync but I suppose I did so because this API, in case of
error, hanged or crashed... cannot really recall why. The problem is that
PingHost on a particular host today returns an error, and it shouldn't,
while this API returns noErr. So I would like to eliminate PingHost from my
code. Am I doing right?

The best should be a safe Cocoa API. Do you know an API which works with
afp, webdav, smb, local volumes and dmg...?


--
Leonardo


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to