lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Problem of tcp_write with more then about 20 kBytes


From: mgroups
Subject: Re: [lwip-users] Problem of tcp_write with more then about 20 kBytes
Date: Mon, 02 Aug 2010 10:25:37 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.7) Gecko/20100713 Lightning/1.0b2 Thunderbird/3.1.1

 Hi,

first of all please update to LWIP 1.32. I can only recommend that. Second what's your MEM_SIZE, TCP_SND_QUEUELEN, MEMP_NUM_PBUF?
Do you have access to the Debug messages, that could really help.
I think it could be maybe a memory problem.



On Mon, 2 Aug 2010 10:19:06 +0200, Daniel Klingler wrote:
Hi,

I am using LWIP 1.3 with Xilinx (SDK).

My settings:
- TCP_SND_BUF 64240
- TCP_MSS 1460

My problem:
- If I am do tcp_write with 18720 Bytes the transfer is well going.
- If I am writing with 19968 Bytes the transfer with some PCs is well going,
but with other PCs the return of tcp_write is -1.
- If I am writing with 21504 Bytes or more then with all connected PCs I
will return -1 of tcp_write.

Does anybody know this issue or has any idea to solve this?

Thanks for your replies.
Regards,
Daniel





_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users



reply via email to

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