Click here to Skip to main content
15,891,316 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm looking for a way to see every TCP packet and also the possibility to manipulate it before it will be read/written by/to it's Destination.

I checked following but I do not find a solution:
1.) WinCap: Only capture possibilities
2.) Win Pf API: Not possible to manipulate packages
3.) I made a "tcp Bridge", but this solution is boring...and only possible whenn I can control the client's rqst port

Does anybody knows an easy way to do this in c++ or c#?

Thank you in advance.
Bruno
Posted
Updated 27-Feb-15 13:27pm
v7
Comments
[no name] 18-May-17 11:48am    
Only a test for me: rectification vs. rectification

 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 28-Feb-15 0:10am    
5ed.
—SA
[no name] 28-Feb-15 4:44am    
Thanks SA.
Try this utility: http://packetsender.com/[^]
 
Share this answer
 
Comments
[no name] 27-Feb-15 15:03pm    
Thank you for your answer.
On a first look it does not look like I can hook in into tcp stack...if I'm wrong can you give me a hint?
Bruno
dpminusa 27-Feb-15 15:08pm    
I think he has open source to download. I thought you could use some of that to make a class and add it to your app.

Good luck.
[no name] 27-Feb-15 15:19pm    
Yep open source it is. But sending/receiving is not my question, that is an easy job. I like to hook in into Windows tcp stack.
Anyway thank you for effort.
Bruno

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