Is there a way to intercept data on a particular port?

I would like to read all the data that comes via port 8080 even if my application is not the one who requested it.
e.g on google chrome, I type, I press enter and the incoming packets are read by my app (and google chrome).

is there a way to do this?


You should be able to accomplish this using a PCAP (Packet CAPture) library such as jNetPcap.

Leave a Reply

Your email address will not be published. Required fields are marked *