• 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 determine if there is an internet connection available?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to determine if there is an internet connection available?


  • Subject: How to determine if there is an internet connection available?
  • From: Vojtěch Meluzín <email@hidden>
  • Date: Sat, 12 Nov 2011 03:39:28 +0100

Hi,

I'm using BSD sockets for some internet access, it works fine. But if there
is no connection available, it waits for say 30 seconds completely stopping
the application. Is there a way to determine if there is actually an
internet connection, so that I can check before using sockets?

Thanks,
Vojtech
_______________________________________________

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 determine if there is an internet connection available?
      • From: Jens Alfke <email@hidden>
    • Re: How to determine if there is an internet connection available?
      • From: Conrad Shultz <email@hidden>
  • Prev by Date: Re: Calling a Cocoa library from C
  • Next by Date: Re: NSDateFormatter -initWithDateFormat:: vs. -init
  • Previous by thread: Re: Calling a Cocoa library from C
  • Next by thread: Re: How to determine if there is an internet connection available?
  • Index(es):
    • Date
    • Thread