lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [task #6930] Implement SO_LINGER


From: Simon Goldschmidt
Subject: [lwip-devel] [task #6930] Implement SO_LINGER
Date: Mon, 09 Jul 2007 12:59:14 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4

Follow-up Comment #24, task #6930 (project lwip):

> do you think it's legitimate to recv data on a socket, and next, to set it
in "listen" mode?

That doesn't work right now: tcp_listen() tries to remove the given pcb from
the list 'bound_pcbs'. If that pcb is on the 'active_pcbs' list, it will stay
there and subsequent input packets will be given to it, although it is freed
(memp_free is called in tcp_listen).

So while it looks like it works, it doesn't really and so there should be a
check for it.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?6930>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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