How to intercept data exchanged between a server and client program?
807591Apr 27 2008 — edited Apr 27 2008I'm looking for a way to listen to a port on my machine in order to get the data exchanged between a client program running on my machine and the server it connects to. I get the port that the client opens on my machine using netstat, and I tried using ServerSocket with that port # but it doesn't work, producing a "Address already in use" error.
So, is there any way for me to see what the client/server are exchanging by listening to a port on my machine? The client program I'm running is just a game I play.