Click here to Skip to main content
15,925,309 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have captured packet
and then I have to know process id or application name that creat this packet.
How can I do? Help me,please.

I can not understand How do corrports work!
Is there used to use currports?
Posted
Updated 17-Oct-11 21:43pm
v2
Comments
Sergey Alexandrovich Kryukov 18-Oct-11 2:39am    
What, not more detail? Package... of what protocol? Please understand, not all of us can read your mind.
--SA
Gun Moris 18-Oct-11 4:09am    
Sorry.
I need to know that what process is connecting now by using c++.

There's some info in CurrPorts[^] page.
 
Share this answer
 
Comments
Gun Moris 18-Oct-11 3:56am    
Thank you.
But I want to work with c++,MFC.
and then I think that there is api for process and network resource.
CPallini 18-Oct-11 4:03am    
I think CurrPorts doesn't exposes API and since they didn't provide the source code you cannot find some helpful info there. However, you may find useful info at Wikipedia:
http://en.wikipedia.org/wiki/Packet_analyzer
Gun Moris 18-Oct-11 4:12am    
In my guess,they do not use packet analyzer.
I think that they use process resource monitor api in windows.
Gun Moris 18-Oct-11 4:13am    
Network is also one of process's resource.
Sorry,I know myself.
I've used GetExtendedTcpTable.
Sorry.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900