[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] tcp_sndbuf always returns 0
From: |
Kieran Mansley |
Subject: |
Re: [lwip-users] tcp_sndbuf always returns 0 |
Date: |
Fri, 17 Jul 2009 15:13:18 +0100 |
On Fri, 2009-07-17 at 21:06 +0800, WU Rui-Qing wrote:
> In packet capture from wireshark ,the checksum shows Good
> checksum :False Bad checksum :False . Is this relative to the
> [validation disabled] configuration ?
Probably. It shows up as bad in Wireshark when I look at it.
> I am sure that the block memory in FIFO is locked and not changed when it
> is read.
What happens to it when you move on to the next block though - this is
the point at which you see the problem.
> when I implement the server using the socket , the server can run long time
> .Why is this?
Because the socket API correctly sets the TCP_WRITE_FLAG_COPY flag for
you when tcp_write() is called.
Kieran