lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #34172] Send and Non blobking socket : send is not com


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #34172] Send and Non blobking socket : send is not complete
Date: Tue, 13 Sep 2011 18:55:27 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0.2) Gecko/20100101 Firefox/6.0.2

Follow-up Comment #3, bug #34172 (project lwip):

OK, so the actual problem is that select() doesn't return the socket as
writable? However, this seems to be correct, as the 2nd send() reports that
there is no more tcp_sndbuf available, and at this state, select() is correct
to tell you it is not writable!

This most certainly means that the data you sent in with the 1st call to
send() is not ACKed (i.e. still hogging on that snd_buf, from which it is only
removed after being ACKed).

The reason for this could a) be due to network errors (but retransmissions
should help recovering from this automatically after some time) or b) you
indeed have a memory limitation. Maybe you should try to increase TCP_SNDBUF,
TCP_SNDQUEUELEN, TCP_WND and TCP_MSS.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?34172>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/




reply via email to

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