how to get the status of network when the network is set disable.
how to get the status of network when the network is set disable.
- Subject: how to get the status of network when the network is set disable.
- From: xiaobin <email@hidden>
- Date: Wed, 9 Jul 2008 21:22:16 +0900
Hello,
I am writing a program to detect the status of network.
In my program, I need get the status of network when the connection is
set disable. here it is not by connecting the network to get the
status.
which API or method can work for it?
for example, if my lan cable is unpluged or the network is set
disable, it is certainly to know the status of the network is off. so
it is not necessary to connect the network to get the status.
so I want to know When it is clearly to know the status of the network
is on or off, which API or method can get the status.
I have read the example of apple's document for using CFDiagnostics
to check whether the network is connected or not, but I think it is
not for my need. It is by connecting the network to get the status.
Would anyone can give me a help ?
Thanks a lot
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden