Byte per byte download is slow!

Blitz3D Forums/Blitz3D Programming/Byte per byte download is slow!

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

hey;)
since no-one could help me with this problem yet, i thought i ask you how do download fast using blitz tcp.

i usualy do something like this:
for i = 1 to bytes
    writebyte file, readbyte(tcp)
next

which gets me 100 kb/s maximum.
i also tried readline/writeline which works only with html files and not with image files (600 kb/s)

do you have any idea how to read whole blocks to accelerate the whole process?
thanks in advance :)