Hi Guys

How would I go about creating a network monitoring type of tool. Basically I want a little app to run on a workstation and retrieve the IP addresses which which the workstation is connecting to. Then maybe write to an xml file or something.

I have search google for two days straight, but have had no joy in finding what I am looking for.

Could someone point me to some tutorials or just point me into the right direction.

Any help will be much appreciated.

Thanks