I'd like to create a program that monitors processes that are running on what ports on my computer. I actually had a program on my computer, though I can't recall who made the thing.

Again, I want to see what my computer is running on certain ports - my question is: What sort of programming knowledge will I need to do something like this? More importantly - how can I do this?

I'm running windows, so I imagine the msdn will be a big help - but what should I search for?