by TCP socket programming: on my application, receiver side uses a small size buffer then transmitted data. So recv() is called several times til all data is received. On each call of recv(), used buffer is copied to another big buffer or appending to a file partly.
My question here is, should I handle the received TCP "packet order" in my code additionally, or TCP handles it on its own buffer on the background? Because transmitted TCP packets arrive to the receiver side not in a correct order.