• 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: How can we trigger a reachability callback?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can we trigger a reachability callback?


  • Subject: Re: How can we trigger a reachability callback?
  • From: Jonathan Guy <email@hidden>
  • Date: Wed, 7 May 2008 15:55:39 +0100

Can't help with the first part but SCNetworkInterfaceForceConfigurationRefresh is used to renew a DHCP lease



On 7 May 2008, at 15:31, Stephane Sudre wrote:

Would there be a way for a 3rd party to trigger a network reachability callback?

The situation is the following one:

Let's say I have a 3rd party firewall running and it's blocking network access.

In another user application project, during initialization I check the connection flags with SCNetworkReachabilityGetFlags and then install a SCNetworkReachabilityCallBack through the usual APIs.

The call to SCNetworkReachabilityGetFlags correctly sees that the network is down.

Then I change the 3rd party firewall settings and allows all network communications.

The problem is the reachability callback is not called as it would be if, for instance, I had un-plugged the Ethernet cable.

So:

- is there a way to trigger a reachability callback?

- is SCNetworkInterfaceForceConfigurationRefresh what is supposed to be used? I'm not sure it is from the documentation.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >How can we trigger a reachability callback? (From: Stephane Sudre <email@hidden>)

  • Prev by Date: How can we trigger a reachability callback?
  • Next by Date: Re: How can we trigger a reachability callback?
  • Previous by thread: How can we trigger a reachability callback?
  • Next by thread: Re: How can we trigger a reachability callback?
  • Index(es):
    • Date
    • Thread