Re: SCNetworkConnectionStart sometimes won't dial.
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.