BNetEx TCP streams limited?

BlitzMax Forums/BlitzMax Programming/BNetEx TCP streams limited?

Volker(Posted 2009) [#1]
Hi,

are there any limits how much can be sended via TCP-stream?
I can send files to a size somewhere around 120 kb. If my file
is bigger I receive a file filled with 0-bytes.




plash(Posted 2009) [#2]
You probably want to do that in chunks.. not the whole load right away.


Retimer(Posted 2009) [#3]
Yes, I believe this has something to do with your MTU size. Send it in several smaller packets and you really won't have a limit in what size of a file you can send.


LAB[au](Posted 2009) [#4]
It is "by design", tcp or udp packets are limited in size, the tricky part is that this size is relative to the OS/Network hardware combo.


Volker(Posted 2009) [#5]
Ok. Thanks.