That information is TCP header and the recv call only returns payload. Parsing the header and delivering the payload correctly to the application is the job of the TCP stack. In other words, it is working as expected.
That information is TCP header and the recv call only returns payload. Parsing the header and delivering the payload correctly to the application is the job of the TCP stack. In other words, it is working as expected.