Hi Rob,
thank you for your quick reply.
About your .zip workaround it’s not applicable, because different devices download different set of images
But now come the interesting thing
I tried to see how many different connection the Corona Simulator does.
With my big surprise, although I send the request for 300 image files, it establish just 6 / 7 connection and not more
Looking the transferred amount of data, I have seen that the most of the data go through just 1 connection
Then I tried to force “keep-alive” connections, using a parameter in the request like this:
local headers = {} headers["Connection"] = "keep-alive"; local params = {} params.headers = headers; params.progress = true; network.download(remotePath..ImageToDownload, "GET", downloadNewToDownload\_Listner, params, ImageToDownload, system.DocumentsDirectory );
NEW SURPRISE :o
Monitoring again the connection, something it’s changed
Now there are 6 different connections too, but now all the data are almost equal distribuite on any connection
:rolleyes:
What do you think about that Rob ?
Maybe could be interesting do some test on real devices
Thank you for your time
Giorgio