lwip-users
[Top][All Lists]
Advanced

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

Ang. Re: Ang. RE: [lwip-users] Strange behavior with sockets.


From: hans . ronnback
Subject: Ang. Re: Ang. RE: [lwip-users] Strange behavior with sockets.
Date: Mon, 4 Jun 2007 11:34:46 +0200


I've found the problem.
Was a typo made by me. Was calling select() with the in/out fd_set mixed up on the listening socket.

//H

address@hidden skrev 2007-06-04 10:54:11 :

> 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
>
>
>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users

reply via email to

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