lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] size of packet


From: Bernhard 'Gustl' Bauer
Subject: Re: [lwip-users] size of packet
Date: Thu, 04 Mar 2010 14:16:14 +0100
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Kieran Mansley schrieb:
On Thu, 2010-03-04 at 13:22 +0100, Oscar F wrote:
My aim is to send a big packet, about 29Mbytes

Depending on your network the maximum packet size is likely to be around
1500 bytes or less.  Some will support up to 9000 bytes, and the
theoretical maximum for IPv4 is 65535 bytes.  Splitting sends into small
packets is done for good reasons, so a 29 MB packet is not a good idea.

If you mean you want a 29 MB send (rather than packet) that should be
fine.  In recent lwIP at least the upper limit on sends is whatever
size_t is defined to on your platform, although I'm not sure this will
have been well tested for size_t > 32 bits.

Oscar,

I would suggest that you start with a small amount of data (1000 bytes). So you can test if your connection works at all. Than increase data in reasonable steps and check function every time.

HTH

Gustl




reply via email to

[Prev in Thread] Current Thread [Next in Thread]