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: [EMAIL PROTECTED] www.elekta.com _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
