lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] lwip_write() blocks indefinitely


From: Darius Babrauskas
Subject: Re: [lwip-users] lwip_write() blocks indefinitely
Date: Mon, 2 Nov 2015 07:46:33 +0200

Hi Alhad,
 
Maybe one reason.
Output driver overrun- packet are sending, but second packet overrun first.
Try do test with delay:
while(1) {
    lwip_write();
    delay(10ms);
}
 
Please, write about your system-hardware.
Darius
 
Sent: Saturday, October 31, 2015 2:34 AM
Subject: Re: [lwip-users] lwip_write() blocks indefinitely
 
Any reason why this would happen?
 
On Fri, Oct 16, 2015 at 2:23 PM, alhadpalkar <address@hidden> wrote:
Hi,

I am using LWIP 1.4.1 and we are seeing a situation where lwip_write()
blocks indefinitely.

We are using a tcp socket, connecting to a remote socket. and then calling
lip_write over and over.

lwip_socket();
lwip_connect()
while(1) {
    lwip_write();
}

The server is the netcat command running on a mac host.

In what situation would something like this happen?
Would this result because of improper configs in our lwipopts.h file?
Is there a cap on the size of the data buffer being passed to lwip_write?

Thanks,
Alhad





--
View this message in context: http://lwip.100.n7.nabble.com/lwip-write-blocks-indefinitely-tp25229.html
Sent from the lwip-users mailing list archive at Nabble.com.

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


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

reply via email to

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