On Thu, Jul 06, 2006 at 05:26:34AM -0700, Jonas L wrote:
> 
> > You need to call tcp_output() after tcp_write() to try to put the data 
> > on the wire.
> 
> Alright...there is certainly something I don't get here. The description for
> tcp_write says:
>  * Write data for sending (but does not send it immediately).
>  *
>  * It waits in the expectation of more data being sent soon (as
>  * it can send them more efficiently by combining them together).
>  * To prompt the system to send data now, call tcp_output() after
>  * calling tcp_write().
> 
> I am interpreting this like it is possible to call tcp_write as many times
> as I need, before transmitting?

Yes.  tcp_write() will queue it for sending, tcp_output() will try to
send it.  Apologies if I misunderstood your original problem.

Kieran


_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to