I'm trying to read packet headers using jpcap.
TCPPacket tcpPacket = (TCPPacket) captor.getPacket();
System.out.println(new String(tcpPacket.header));
and the output is (something like):
What am I missing? (When reading the data part, it looks OK)