• Brandie Tarvin (4/25/2014)


    The misconception would be mine, then. This is sample code supplied to me by the vendor receiving the file. It seems pretty generic and the person who gave it to me is not one of the developers. He's just a point of contact (the gatekeeper, if you will).

    Which means I have no idea why they have it reading in 1 KB chunks.

    I presume from what you've said in a previous post that it's not really necessary?

    If they are trying to optimize TCP stream since MTU for Ethernet is 1500 bytes?

    We normally read and write in 1024 byte chunks and for each iteration we send notification to listeners (UI).