lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] doubt in sending TCP IP data


From: Atte Kojo
Subject: Re: [lwip-users] doubt in sending TCP IP data
Date: Wed, 21 Dec 2005 11:38:53 +0200
User-agent: KMail/1.9.1

On Tuesday 20 December 2005 14:52, Prateek Jain wrote:
> 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?

Could you provide an ethernet (or comparable) trace of the transaction. Also, 
have you defined any other TCP_* constants in lwipopt.h?

-- 
Atte Kojo
Software Development Engineer
Elekta Neuromag Oy
Street address: Elimäenkatu 22, Helsinki, Finland
Mailing address: P.O. Box 68, FIN-00511 HELSINKI, Finland
Tel: +358 9 756 24084 (direct), +358 9 756 2400 (operator)
Fax: +358 9 756 24011
E-mail: address@hidden
www.elekta.com




reply via email to

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