[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] size of packet
From: |
Kieran Mansley |
Subject: |
Re: [lwip-users] size of packet |
Date: |
Thu, 04 Mar 2010 12:56:05 +0000 |
On Thu, 2010-03-04 at 13:47 +0100, Oscar F wrote:
> Ok thanks,
> i have a big buffer, and when it´s completed i have to send to the
> other PC.
>
> Can i use this:
> send (..., 29Mbytes,...); exactly will be lwip_send(int s, const
> void
> *data, 29Mbyte, unsigned int flags)
In theory, yes, but you will need suitably large numbers of buffers and
so on, and the call could block for some time while waiting to send it
all. If you can give details of the error that might help tell us what
your problem is. lwIP should try to turn a big write like that into
many smaller writes (each less than 65535 bytes).
Kieran
- [lwip-users] size of packet, Oscar F, 2010/03/04
- Re: [lwip-users] size of packet, Kieran Mansley, 2010/03/04
- Re: [lwip-users] size of packet, Oscar F, 2010/03/04
- Re: [lwip-users] size of packet, Kieran Mansley, 2010/03/04
- Re: [lwip-users] size of packet, Oscar F, 2010/03/04
- Re: [lwip-users] size of packet,
Kieran Mansley <=
- Re: [lwip-users] size of packet, Oscar F, 2010/03/04
- Re: [lwip-users] size of packet, Kieran Mansley, 2010/03/04
- Re: [lwip-users] size of packet, Oscar F, 2010/03/04
- Re: [lwip-users] size of packet, Bernhard 'Gustl' Bauer, 2010/03/04