lwip-users
[Top][All Lists]
Advanced

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

RE : [lwip-users] Receiving RSTs


From: address@hidden
Subject: RE : [lwip-users] Receiving RSTs
Date: Tue, 11 Dec 2007 21:20:54 +0100
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)

Jonathan Larmour wrote:
I wonder from what Aparna says:

        When the Windows server is not up, the PC responds with a RST
        for a received SYN. The connect() API returns an error, and the
        client retries connect() after every few seconds.

whether he/she is not closing the socket before calling connect again?

Maybe the netconn API needs to explicitly disallow connects if conn->err is
set?

Either way, if the socket isn't being closed, Aparna needs to fix his/her code.
Normally, the socket API allows calling connect for a second time (when the first call fails and the socket is not already connected). LwIP might not allow this, in which case we can argue if there is documentation missing or an assert (or a code change)...

Simon




reply via email to

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