Java TCP Socket Sniffing

I use TCP sockets to transfer data between the server and client programs using a specific port number on the same computer (localhost)

Do I need software that can capture data sent / received through this socket?

(either)

What is the easiest way to sniff packets from a specified port in Java?

Solution

I recommend using Wireshark It is easy to use and can run on many platforms

http://www.wireshark.org/

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>