Re: TCP connection count
Re: TCP connection count
- Subject: Re: TCP connection count
- From: Eyal Redler <email@hidden>
- Date: Wed, 10 Oct 2007 19:01:30 +0200
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:
This email sent to email@hidden