Hi,
I just started working with TCPnet and my project involves transfer of "big data" over the network.
Big is a synonym of "few hundreds of kb".
I did not find what kind of behaviour to expect from TCPnet, is this even possible ?
According to TCP, the transfer would go over many segments, and the TCPnet Socket interface for TCP seems to provide either only reunited packet of data, either it does not support data to be bigger than MSS.
My device does not include enough RAM ("only" 64kb) to even allocate enough space for my data, so the stack would inevitably fail in trying to do so.
I was thinking in using an external SRAM as a way to reunite segments, but is there a way to receive each packets ?
Best Regards, Bertrand
You don't need to send all in a single write. You can write 1kB at a time, or whatever size that is suitable for the transmitter or receiver.
Since the upload is a HTTP POST upload, I don't think I have much "choice" in the implementation on the client side. I could maybe use a fragmented AJAX post but that would be cumbersome.
I will try out uIP, since the TCPnet HTTP Server is also too limited for my use, it might be interesting.
Thank you both for your answers ;)
uIP is a very small implementation for very small processors - therefore it is highly unlikely to be less limited than, well, anything else!
lwIP (lightweight IP) is somewhat less limited than uIP...