lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Sockets


From: Nikolas Karakotas
Subject: Re: [lwip-users] Sockets
Date: Thu, 6 Sep 2012 12:36:32 +0300

Hi,

If I define the following flags will this improve it?
#define LWIP_SO_RCVTIMEO            1
#define LWIP_SO_SNDTIMEO            1

I had a look at the socket example with the select I will try it.

Regards,
Nick

-----Original Message----- From: Simon Goldschmidt
Sent: Thursday, September 06, 2012 11:52 AM
To: Mailing list for lwIP users
Subject: Re: [lwip-users] Sockets

Nikolas Karakotas wrote:
[..]
I then get stuck as well maybe in the lwip_write or lwip_send. How can I
combat this issue? Does send/write wait for ever?


I think this is a standard socket problem, not an lwIP one. You can use non-blocking sockets and select() to prevent local blocking because of peer (or network-) problems.


Simon

_______________________________________________
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]