[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ang. RE: [lwip-users] Strange behavior with sockets.
From: |
Kieran Mansley |
Subject: |
Re: Ang. RE: [lwip-users] Strange behavior with sockets. |
Date: |
Mon, 04 Jun 2007 09:54:11 +0100 |
On Mon, 2007-06-04 at 10:48 +0200, address@hidden
wrote:
>
> Im using the latest stable LwIP (1.2.0).
>
> And I have checked it the default tcp_recv_null() is called (causing
> the connection to close), but its not.
> And I have added a printf() before i call close() on the socket. Still
> no result.. Nothing is printed, and the SYN/SYN,ACK handshake
> completes but is immediately followed by a FIN,ACK packet.
Rather than looking where you call close(), look at the points in the
lwIP code that call tcp_close().
Kieran