|
From: | Bill Auerbach |
Subject: | RE: [lwip-users] tcp_enqueue problem, using socket: |
Date: | Wed, 19 Mar 2008 10:15:21 -0400 |
Yes, you probably need extra parens
around (pcb)->snd_buf > 0. I don’t even know if it’s
valid and I’m nowhere near as knowledgeable about lwIP as the others are here.
I set TCP_SND_QUEUELEN to 256 but I can see in memory limited applications that
this isn’t ideal. Look at do_writemore – this is
where it won’t write more than tcp_sndbuf. This looks like the same
location to test for TCP_SND_QUEUELEN and not write more if that has been reached.
I can test this in my program, but it’s without an OS (no netconns or
sockets, but I have the same tcp_sndbuf test which is required in the tcp_sent
callback). Bill From:
address@hidden
[mailto:address@hidden On Behalf Of Piero 74 i didn't understand this
suggest: |
[Prev in Thread] | Current Thread | [Next in Thread] |