Xojo Conferences
XDCMay2019MiamiUSA

[MBS] Can I use packetSocketMBS for large files ? (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] [ANN] 13.1pr16
Next thread: [MBS] Curl queue info


[MBS] Can I use packetSocketMBS for large files ?   -   Louis
  Re: [MBS] Can I use packetSocketMBS for large files ?   -   Christian Schmitz

[MBS] Can I use packetSocketMBS for large files ?
Date: 29.04.13 18:24 (Mon, 29 Apr 2013 13:24:25 -0400)
From: Louis
Hello,

I tried using PacketSocketMBS and it works well for small files. But as soon
as the file size is bigger, I get errors.

Should I simply chunk my large files into smaller segments ? And if so, how
big? And how ?

Is there a limit above which PacketSocketMBS become unreliable and I shoud
use another kind of socket ?

Louis

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] Can I use packetSocketMBS for large files ?
Date: 29.04.13 19:11 (Mon, 29 Apr 2013 20:11:55 +0200)
From: Christian Schmitz

Am 29.04.2013 um 19:24 schrieb Louis <<email address removed>>:

> Hello,
>
> I tried using PacketSocketMBS and it works well for small files. But as soon
> as the file size is bigger, I get errors.

What errors?

It should simply work for up to 2 GB, but that won't fit in memory in a 32 bit app.

> Should I simply chunk my large files into smaller segments ? And if so, how
> big? And how ?

Well, that's a good idea. You could send maybe small chunks of 1 MB and wait for an answer before sending next one.

> Is there a limit above which PacketSocketMBS become unreliable and I shoud
> use another kind of socket ?

It's your choice. But it's certainly not unreliable.

Greetings
Christian