How to find a list of sockets held by a process in windows?
I like TCPView from SysInternals: http://technet.microsoft.com/en-us/sysinternals/bb897437Good for lots of other things too, but to check your own process out, just find it in the list and look at the sockets it has open, addresses they are bound to, etc. You can also watch the dynamic pattern of your processes socket usage.