Carbon alternative to NSHTCPWillDial?
Carbon alternative to NSHTCPWillDial?
- Subject: Carbon alternative to NSHTCPWillDial?
- From: Graham Parkinson-Morgan <email@hidden>
- Date: Thu, 1 Apr 2004 10:00:48 -0800
Our licence manager code does a runcount check on the local network.
It tries to be polite and avoids firing a user's modem.
Thanks to TN 1145, we use SCNetworkCheckReachabilityByName in our
__MACH__ build, and in our Carbon builds when we detect that we are
running in OSX or Classic. In our non-Carbon, non-Mach build, we can
use NSHTCPWillDial from MoreNetworkSetUp.
This leaves our Carbon build, when not running in OSX.
Is checking the error return from OTInetGetInterfaceInfo as documented
in TN1145, our only option here? Seems like it was not good enough for
some developers, and yet the rigorous solution, NSHTCPWillDial, does
not appear to be available for Carbon targets.
Graham.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.