I am trying to replicate some TCP communication that is sent from MongoDB and I have been able to replicate it byte by byte and it is still not being recognized.
The only difference I could find when analyzing the packets on Wireshark was that my packet has the data itself being recognized as a separate "Data" section (1s picture below) where the original, working packet has it as "TCP segment data" (2nd picture).
Can anyone explain on a high level how those two are different?
As an extra, I am using rust and I am writing bytes to the TcpStream as you'd normally do. Any idea why it's being sent this way vs. the other way?