[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [lwip-users] Strange behavior with sockets.
From: |
Goldschmidt Simon |
Subject: |
RE: [lwip-users] Strange behavior with sockets. |
Date: |
Mon, 4 Jun 2007 10:32:59 +0200 |
> I'm having a rather strange behavior when using sockets.
> One thread that does all kind of intializations is used to setup a
listening socket. The thread never reference this socket after the
initialization is complete.
> Another thread is then started to handle incomming connections/traffic
on the listening socket. However, upon calling lwip_accept() something
odd is happening.
> LWIP first completes the SYN/SYN,ACK sequence, but then follow up with
a FIN,ACK, causing the connection to close.
Which version are you using? If you're using a recent CVS HEAD version,
make sure you check it out again since there was a little bug with a
recent change to initialization of tcp pcbs which has set some
connections in the closed state so that they wouldn't accept data. From
what you're saying, that _could_ be the reason...
Simon