[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] SO_SNDTIMEO and it's alternatives
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-users] SO_SNDTIMEO and it's alternatives |
Date: |
Thu, 20 Sep 2012 07:12:23 +0200 |
Måns Andersson wrote:
> I'm using lwip 1.4.0 and have problems with that the write() function
> locks up and never returns, which is by the book since I'm using blocking
> sockets. But I don't want the thread to be locked up forever, but rather
> returned after some fixed amount of time on error, just like SO_RCVTIMEO does
> when
> using read(). SO_SNDTIMEO is not implemented in lwip
If I remember correctly, SO_SNDTIMEO is supported in the git sources (and thus
will be supported in 1.4.1).
Simon