Jon Box's Weblog

 


.NET Articles by the Atomic group

MSDN RDs









Subscribe to "Jon Box's Weblog" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

 

 

  Monday, August 23, 2004


In thinking some more about the last post, I remembered that .NET 2.0 could help in getting information about your network connections.  System.Net.NetworkInformation has support for listing your network interfaces, IPv4 and IPv6 statistics, TCP and UDP statistics, and even a NetworkAddressChangedEventHandler.  It even includes Ping functionality (i.e. ICMP). 

Some interesting samples are starting to arrive.  Justin Rogers has a TraceRoute sample based on v2.  3Leaf shows some research of how this namespace is used in the My classes.  The DE from India has some comments on Managed Pinging.  The beta docs (see the above .NET 2.0 link) have several small samples as well.

 


9:05:34 PM    comment []

For those of you who don't know me, let's just say that I'm not an infrastructure guru - and I don't plan on being one.  So, this entry is for those who are like me, i.e. only want to know enough to get the job done.  In doing some research on XPSP2, I was curious how to know what was connecting to me or what I was connecting to via TCP/IP connections.  An easy way is to use the NetStat utility that comes with Windows.  Run this command line gem with either the "-ano" or "-ao" parameters and you might be surprised what all is going on under your nose.  The output includes your local address/port, the external address/port including machine name, connection state, and PID (process ID).  Run this next to TaskMgr and you'll get a better idea if there's any nonsense happening.  On first view, this might be scary to you as it will appear that everyone and their mother is talking to your machines.  But after looking up the processes and seeing who is actually connected to you, you can breathe easier.  If you can't identify a connection's purpose, there is always the possibility of using the Windows Firewall and its "Don't Allow Exceptions" setting.

Another intersting utility is TDImon from Sysinternals. This utility shows network traffic and also includes some NetStat info like PID (but with the actually process name).  Plus it's free.  Wow, is Outlook busy!


8:18:55 AM    comment []

If you are running Windows XP Service Pack 2 (XPSP2) and a developer, you have probably heard about the limitations with remote debugging with XPSP2.  Microsoft now has a utility that does some of the setup for you.
8:04:29 AM    comment []


Click here to visit the Radio UserLand website. © Copyright 2004 Jon Box.
Last update: 9/1/2004; 12:12:04 AM.

August 2004
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
Jul   Sep