C++ program to capture IP packets and more…
Project detail
You will need to write a program to:
1. To capture the IP, TCP, UDP packets
2. Print out the following fields in the packets:
• IP: Version, IP Header Length, TTL, Protocol, Source Address, Destination Address;
• TCP: Source Port, Destination Port, Sequence Number, Acknowledgement, TCP
header length;
• UDP: Source Port, Destination Port, Length, and Checksum.