Package jpcap

Provides classes and interfaces for capturing packets from a network interface, sending packets to a network interface, reading packets from a file, and writing packets to a local file.

See:
          Description

Interface Summary
PacketReceiver This interface is used to define a method to analyze the captured packets, which is used in JpcapCaptor.handlePacket() or JpcapCaptor.processPacket()
 

Class Summary
JpcapCaptor This class is used to capture packets or read packets from a captured file.
JpcapSender This class is used to send a packet.
JpcapWriter This class is used to save the captured packets into a file.
NetworkInterface This class represents a network interface.
NetworkInterfaceAddress This class represents a network address assigned to a network interface.
 

Package jpcap Description

Provides classes and interfaces for capturing packets from a network interface, sending packets to a network interface, reading packets from a file, and writing packets to a local file.