lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] doubt in sending TCP IP data


From: Prateek Jain
Subject: [lwip-users] doubt in sending TCP IP data
Date: Tue, 20 Dec 2005 18:22:58 +0530

Hi,
 
  I am having a doubt in sending tcp ip data..I call tcp_write routine and write 4096 bytes of data. My TCP_MSS is 1024 and TCP_SND_BUF is 4096. After sending 1024 bytes of data, I get this log
 
tcp_slowtmr: processing active pcb
tcp_slowtmr: processing active pcb
tcp_slowtmr: polling application
tcp_output: nothing to send (00000000)
 
That means pcb->unsent is NULL. But 3072 bytes are stilll remaining. Once it gets the ack for the previously sent data (1024), it sends the next data (remaining data).
 
Any particular reson for it ? Why doesn't it send the remining 3072 bytes?
Because of this reason It is giving me very low performance.
 
Thanks in Advance
 
Prateek

reply via email to

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