|
-
May 2nd, 2010, 10:39 PM
#1
Process and port
I'm a newbie at Visual C++ and Windows programming. Do you guys know how to get all ports opened by a specified process? It's hard for me to find out the answer. Pls help me! (
-
May 6th, 2010, 08:43 PM
#2
Re: Process and port
At one time, there was an undocumented function named AllocateAndGetTCPExTableFromStack() which would help. The function is now deprecated and no longer available in Vista or above, and it would appear that GetExtendedTcpTable() must now be used.
See http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx and http://msdn.microsoft.com/en-us/libr...=VS.85%29.aspx
-
May 7th, 2010, 08:41 PM
#3
Re: Process and port
 Originally Posted by MikeAThon
Thanks guy! You did help me out
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|