Fabian Koch:
I am in the position where I would need SOCKET_SO_SNDTIMEO to have
Send() at least return after a while when e.g. I unplugged the cable.
Now, I understand that sockopt is unimplemented in LwIP.
Not sockopt in general, but SO_SNDTIMEO is not implemented, that's right.
Could I achie
Hey list,
I am in the position where I would need SOCKET_SO_SNDTIMEO to have Send()
at least return after a while when e.g. I unplugged the cable.
Now, I understand that sockopt is unimplemented in LwIP.
Could I achieve a similar behavior using sys_timeout()?
Creating a timeout before calling ne
Bernhard 'Gustl' Bauer wrote:
Hi,
I'm using LWIP 1.3.0 with the modified CS8900 driver coming with contrib.
First of all, I think the one in CVS might be outdated since it is not
maintained any more (which is why it has been moved to the 'old'
subdirectory). Please have a look at the drive
Nicolas Pinault a écrit :
Nicolas Pinault a écrit :
Yoav Nissim a écrit :
Pardon me for barging in... I have encountered the same issue about a
week or two ago.
Using select() would be the natural choice for performing multiple
non-blocking operations.
You can either:
1. Use select() in a
Hi,
I'm using LWIP 1.3.0 with the modified CS8900 driver coming with contrib.
The transfer from CS8900 to RAM buffer is done by DMA and works fine so
far. Then cs8900_input() does a pbuf_alloc() and copies 1 packet from
DMA buffer to pbuf.
But what if pbuf_alloc() fails? If I drop this packe