On Wed, 2009-04-29 at 10:00 +0800, inner T wrote: > Thanks for your reply > > > I have tryed this, but if get passive close when lwip_recv() suspend > the Client thread, it did not return zero but keep suspend at > sys_arch_mbox_fetch(). > lwip_recv() can return zero only when the connection is not > established.
That is not what is supposed to happen: if you have blocked in lwip_recv () and the other end closes the connection lwip_recv() should return zero immediately. Kieran _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
