Jump to content
  • Advertisement
Sign in to follow this  
tibberous

Need a program to let me view socket connection data

This topic is 3962 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I two programs on my computer that communicate to each other through sockets. Does anyone know of a way to view the data they are sending back and forth?

Share this post


Link to post
Share on other sites
Advertisement
At least on my test box (FreeBSD 6.2 on a sparc64), tcpdump successfully dumps contents of packets on the loopback interface lo0.

Share this post


Link to post
Share on other sites
For Windows, I'd simply write a little proxy server, then fix the application endpoints as needed. The entire server was some 200 lines of Java code, so it really isn't much work.

The reason for this is, that loop-back is often optimized, so it handles network calls directly, without passing them through network API.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!