• 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: SCNetworkConnectionStart sometimes won't dial.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SCNetworkConnectionStart sometimes won't dial.


  • Subject: Re: SCNetworkConnectionStart sometimes won't dial.
  • From: Christophe Allie <email@hidden>
  • Date: Thu, 20 May 2004 09:47:50 -0700

On 5/20/04 9:09 AM, "Jonathan Wight" <email@hidden> wrote:

> I'm now watching the dynamic store for changes to
> "State:/Network/Service/[^/]+" via SCDynamicStoreSetNotificationKeys (I
> should probably just watch for "State:/Network/Service/<my set id>"
> instead). It seems to be doing the right thing.
>
> But the problem is so timing dependent that its hard to tell for sure
> if this will work for good.

When the service appears in the DynamicStore, it will become available for
dialing.

You can loop around SCNetcworkConnectionCreateWithServiceID() until you get
a valid reference back.

Christophe.
_______________________________________________
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: SCNetworkConnectionStart sometimes won't dial.
      • From: Jonathan Wight <email@hidden>
References: 
 >Re: SCNetworkConnectionStart sometimes won't dial. (From: Jonathan Wight <email@hidden>)

  • Prev by Date: Re: SCNetworkConnectionStart sometimes won't dial.
  • Next by Date: POSIX sockets and event loops
  • Previous by thread: Re: SCNetworkConnectionStart sometimes won't dial.
  • Next by thread: Re: SCNetworkConnectionStart sometimes won't dial.
  • Index(es):
    • Date
    • Thread