Until framework version 1.1 its not possible from managed classes, you could
use native win32 API for this.
Look at
http://msdn.microsoft.com/library/de...ettcptable.asp
In .Net framework 2.0 (Beta-1), look at System.Net.NetworkInformation
namespace and look at IPGlobalProperties.GetActiveTcpConnections() method.
Whidbey Beta1 is avaialble for download at
http://msdn.microsoft.com/net
--
adarshk [MS]
===========================
This posting is provided as-is. It provides no guarantees and confers no
rights
"Marko Vujica" <mv*****@net.hr> wrote in message
news:cd**********@ls219.htnet.hr...
How can I get the state of socket like "netstat -a" does (CLOSE_WAIT,
FIN_WAIT_1, etc.)? Poll method of Socket class does not give much
information. Obviously I'm not very familiar with socket programming.
Thanks.
Marko