Detecting if /Network/Library is available
site_archiver@lists.apple.com Delivered-To: Cocoa-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:date:subject:message-id :to; bh=q5oDsylAxB0JE5lt8ZingiiIW59N9bDqpZkkqo2NQc4=; b=tqB1DWjSha+RBNYG1UxSTKP4/FO1/4SqYInXYaQzZvvKr9SnRYMgnwkO0btmhiRYU6 wVELMcHMiYT8s4LBU7scjQOZfDiGK+TxekjsHWoa1ddbYkYCyjdNYPjJwbmhmfcUl1dZ U+ijD/R1k7oJTEN35L2hQrupqzaOSJ6KpfxS5dV0n5YUwQ+lyyZLGiGATolTQkNHXjs4 p3vI9cHdop/MF1VJR05CXvdH4or+qvR0G2nldRgmz2GOfs1AiGhpZbF4MDOSyHXMusMO fb7DSluesipXTnyHhu5Nlv/MmFpcPyIwkaxKcPX0PJPUJ/uVekQk3lFvD2d42DJqp7RY qRGQ== I have a problem to solve where it appears I need to detect if /Network/Library is available or not. Basically, I’d like to handle situation where I need to copy items from /Network/Library at times when it’s it’s not yet available but may be available soon… i.e. at boot, or after the Network cycles, etc. There’s a couple of strategies I can think of: Keep failing the copy until it works or a default time out expires Notification of availability (Preferred, but I can’t find a way to do this) Quit and retry later. Any suggestion/guidance anyone can provide on this? Thanks in advance, Sandor _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Sandor Szatmari