Optimal stream packet size
Posted on 2004-04-05
I am streaming data from a TMemoryStream to clients using the following code.
Count := m.read(b,1024);
What are your suggestions on the size of the data to send? 1024 bytes seems rather small. Typically the entire memory stream will be at least 5 megs. Normally the data will only be transferred on a LAN