|Subject:||RE: [lwip-users] Receiving RSTs|
|Date:||Mon, 10 Dec 2007 21:21:42 +0530|
I suggest you should set your packet size to somewhere in between 1460 to 1500. I hope it will work.
From: address@hidden [mailto:address@hidden On Behalf Of aparna.dutta
Sent: Saturday, December 08, 2007 3:57 PM
To: 'Mailing list for lwIP users'
Subject: [lwip-users] Receiving RSTs
We are using Lwip ported onto the Analog Devices VDSP++ 4.5 (Blackfin family , Feb 2007 update) to develop a client which tries to connect to a windows PC server using the socket connect() API.
When the Windows server is not up, the PC responds with a RST for a received SYN. The connect() API returns an error, and the client retries connect() after every few seconds.
After retrying for the number of times equal to the SYS_MBOX_SIZE, the code fails with the assertion “sys_mbox_post: mbox not full".
Receiving an RST triggers the err_tcp() error function which posts a NULL message. It appears that the mbox is getting populated with NULL messages, but these messages are not being read out at all, and so the mbox is getting full.
Is this correct behaviour ?
Thanks and regards,
|[Prev in Thread]||Current Thread||[Next in Thread]|