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 [EMAIL PROTECTED] skrev 2007-06-04 10:54:11 : > On Mon, 2007-06-04 at 10:48 +0200, [EMAIL PROTECTED] > 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 > [email protected] > http://lists.nongnu.org/mailman/listinfo/lwip-users
_______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
