• 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 know if Internet connection is active?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to know if Internet connection is active?


  • Subject: How to know if Internet connection is active?
  • From: Pierre-Olivier Latour <email@hidden>
  • Date: Tue, 06 Aug 2002 11:29:53 +0200

Hi,

In case the user uses a modem to connect to the Internet, and the connection
is not running, what happens when you call [... InitWithContentsOfURL]
methods or [NSWorkspace openURL]?

Do they simply return nil or do they make the modem connect to the Internet?

In the second case, is there any way in Cocoa to know if the computer is
connected to the Internet before calling any Cocoa method that might attempt
to do so?


_____________________________________________________________

Pierre-Olivier Latour email@hidden
Lausanne, Switzerland http://www.pol-online.net
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: How to know if Internet connection is active?
      • From: Angela Brett <email@hidden>
  • Prev by Date: Re: Distributed Objects over a Network
  • Next by Date: Re: Distributed Objects over a Network
  • Previous by thread: Re: OmniObjectMeter and PB/gdb
  • Next by thread: Re: How to know if Internet connection is active?
  • Index(es):
    • Date
    • Thread