I have made an App for watching Active tcp/udp connections for the local pc. Now, my list of connections is static, How do i make it dynamic? I tried to use Timer events,but GetExtendedTCPTable returns the full list of connections. I only desire that the new connections be added to my listView. Is there some API to do the same? or do i have to manually keep track of all the connections,compare them, and then add to display?
Thanks in Advance
You can use a timer first you put all connections in a list then at the next timer cycle you use another list and compare them and see what changes occurred. I don't think an elegant method exists on this problem.