• 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
Re(2): Distinguishing between ppp and ethernet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re(2): Distinguishing between ppp and ethernet


  • Subject: Re(2): Distinguishing between ppp and ethernet
  • From: Jens Bauer <email@hidden>
  • Date: Fri, 31 May 2002 23:41:43 +0200

Hi Quinn,

On Fri, 31 May, 2002, Quinn <email@hidden> wrote:

>>Also, there is currently no way of determining whether a connection
>>will cause a dialup using rb sockets...they have a pppstatus but
>>obviously its value is only relevant if the user is actually using a
>>ppp interface....and there is no way of determining this without
>>initiating a connection and seeing whether the pppstatus changes.
>
>OK, this is really easy. System Configuration framework provides two
>high-level APIS, SCNetworkCheckReachabilityByAddress and
>SCNetworkCheckReachabilityByName, that will tell you if connecting to
>a specific address is likely to trigger a dial.

Is this the API-call that Software Update (and QuickTime updater) uses
when it "only will dial when you have an active internet connection" ?
-Or do they monitor when there are data sent to the network; eg. a name-
lookup ?


Love,
Jens

--
Jens Bauer, Faster Software.
-Let's make the World better, shall we ?
_______________________________________________
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.

References: 
 >Re: Distinguishing between ppp and ethernet (From: Quinn <email@hidden>)

  • Prev by Date: Re: Proper time to thread?
  • Next by Date: Re(2): Proper time to thread?
  • Previous by thread: Re: Distinguishing between ppp and ethernet
  • Next by thread: Re: Authentication for MoreSCF
  • Index(es):
    • Date
    • Thread