Class Sniffer


public class Sniffer
extends java.lang.Object

Listens for received packets that implement a given protocol and writes them to the screen.

Constructor Summary
Method Summary
static void main(java.lang.String[] args)
          Usage: Sniffer -p protocol
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public Sniffer()
Method Detail


public static void main(java.lang.String[] args)
Usage: Sniffer -p protocol

protocol is an optional argument. When selected, only packets with the given protocol will be displayed. The default is TCP.