Wireshark (http://www.wireshark.org/) is a useful tool for sniffing network packets. Yesterday I had such a problem (although it was between the window and the device on the network). I had never used Wireshark before, but I was able to use it and read data in minutes. However, I have not tried this between two applications on the same machine.
source
share