Re: Efficient method of checking connectivity
Re: Efficient method of checking connectivity
- Subject: Re: Efficient method of checking connectivity
- From: Quinn <email@hidden>
- Date: Tue, 1 Jun 2004 10:43:24 +0100
At 19:06 -0500 30/5/04, Ricky Sharp wrote:
Is there any more efficient method of determining connectivity to
the internet?
We introduced new connectivity APIs in Mac OS X 10.3 that allow you
to be notified asynchronously (out of the runloop) when connectivity
to a host changes. Look in the headers for
SCNetworkReachabilityCreateWithName and its associated routines.
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
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.