Protocol Analyzers allow you to look at data in transit and see the individual packets, segments, frames, encapsulation data and even the data itself if it is not encrypted
Wireshark is a popular Open Source Protocol Analyzer and is available here https://www.wireshark.org/develop.html
Download and use Youtube to get use to it