• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Carbon alternative to NSHTCPWillDial?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Carbon alternative to NSHTCPWillDial?
      • From: Quinn <email@hidden>
  • Prev by Date: Re: How to Increase size of Data Descriptor Table (at present 64) in case of sockets
  • Next by Date: RE: Not able to accept more than 60 connections
  • Previous by thread: OT serial messages in OS 9
  • Next by thread: Re: Carbon alternative to NSHTCPWillDial?
  • Index(es):
    • Date
    • Thread