On Mon, 2010-08-30 at 16:22 +0700, PHAM ANH THIEN wrote: > If my network application send too fast, then cause the case "don't > try to write more than sendbuf" (in function do_writemore, api_msg.c). > What i undestand this case my application send too fast and lwip > slowly receive ACK so that it could not quickly release sendbuf then > cause the size of sendbuf too small. > > Do i understand correctly?
I'm not sure - the first paragraph above is a little hard to decode. > As my application encounter this case, it hangs and can not send data > anymore. > > Anyone faced this case, pls advise! If you get an error when trying to write because the send buffer is full you simply have to wait and try again later. You could use the tcp_poll() API to help you do this if you don't have a more convenient way to do so. Kieran _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
