Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: API for active network connection



The APIs do not generate any network traffic (unless a DNS name-- >address query is needed). They simply watch the network interfaces that would be used to communicate with a remote host.

- Allan


On Apr 6, 2006, at 4:14 PM, Tim michals wrote:

I thought this was at the socket level? I don't want
to generate network traffic, just want to check if the
physical link is down...

--- Allan Nathanson <email@hidden> wrote:

Will the
<SystemConfiguration/SCNetworkReachability.h> APIs
meet your
needs?

- Allan


On Apr 6, 2006, at 3:32 PM, Tim michals wrote:

Is there an API to scan for a active network
connection regardless of interface? ie modem,
Ethernet, or wireless, I was using ifconfig, but
wondering if this would cover all the
interfaces...

I'm trying to detect when a disconnection happens using some pyhsical link detection.... instead of polling a url...




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

_______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden
References: 
 >Re: API for active network connection (From: Tim michals <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.