lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] lwIP 1.4.0 sockets bug? Not receiving packets on connec


From: Simon Goldschmidt
Subject: Re: [lwip-devel] lwIP 1.4.0 sockets bug? Not receiving packets on connect
Date: Fri, 10 Feb 2012 08:08:01 +0100

David Buzz Carlson <address@hidden> wrote:
> Did not read expected 24 bytes: -1
> errono: 5
> [..]
> The errno would seem to indicate that the call is EINPROGRESS

Why would 5 be EINPROGRESS? Looking at arch.h, 5 is EIO, which means ERR_ARG 
(illegal argumant) in the lwIP code.

Unfortunately, there are many places where this error is returned. Have you 
tried without the setsockopt before connect? Maybe you have run out of netbufs? 
You might want to have a look at the lwip stats to see if there has been an 
allocation error somewhere.

Simon
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de



reply via email to

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