• 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
Re: TCP connection count
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TCP connection count


  • Subject: Re: TCP connection count
  • From: Dmitry Dolinsky <email@hidden>
  • Date: Wed, 10 Oct 2007 10:15:44 -0700

Eyal,

Check out Reachability and Connection APIs:

<http://developer.apple.com/documentation/Networking/Conceptual/ SystemConfigFrameworks/SC_ReachConnect/chapter_5_section_2.html#// apple_ref/doc/uid/TP40001065-CH204-TPXREF102>

--Dmitry


On Oct 10, 2007, at 10:01 AM, Eyal Redler wrote:

Hi Peter,

I need to programmatically know how many outgoing TCP connections are
currently active in the system. The purpose here is to determine
quickly if there is currently an active internet connection.
How can this be accomplished?

Determining if there is an "active internet connection" is a different problem from counting how many outgoing TCP connections are in the established state.

If your internet connection goes down or becomes unresponsive
for any reason, it is still possible to have many outgoing
TCP connections in the established state including local
connections used for interprocess communication.

Please say more about what you are trying to determine or accomplish.

Thanks for the answer, Peter. I'm currently porting a networking intensive windows application and I simply need to implement a call that does exactly what I've described, it could be that it not the best way or even a good way to check the internet connection and maybe this will change in the future but at the moment, I really need to know if this is possible (counting TCP connections) or not.


Any ideas how this could be done?

I'd appreciate any pointers




Eyal Redler ====================================== RedleX - Makers of Mellel www.mellel.com email@hidden email@hidden Work: 972-3-5226849 Mobile: 972-542-585545

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40simplifymedia.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >TCP connection count (From: Eyal Redler <email@hidden>)
 >Re: TCP connection count (From: "Peter Sichel" <email@hidden>)
 >Re: TCP connection count (From: Eyal Redler <email@hidden>)

  • Prev by Date: Re: TCP connection count
  • Next by Date: Re: TCP connection count
  • Previous by thread: Re: TCP connection count
  • Next by thread: Re: TCP connection count
  • Index(es):
    • Date
    • Thread