• 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
how to get the status of network when the network is set disable.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: how to get the status of network when the network is set disable.
      • From: Stefan Arentz <email@hidden>
    • Re: how to get the status of network when the network is set disable.
      • From: Michael Kaye <email@hidden>
  • Prev by Date: Re: Debugging strategy - exceptions
  • Next by Date: Re: Debugging strategy - exceptions
  • Previous by thread: Re: Receive notifications about frontmost application change
  • Next by thread: Re: how to get the status of network when the network is set disable.
  • Index(es):
    • Date
    • Thread