lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #1895] tcp_bind not correct


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #1895] tcp_bind not correct
Date: Tue, 17 Apr 2007 11:50:14 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

Follow-up Comment #1, bug #1895 (project lwip):

Do you plan to create a list of allocated tcp_pcbs in state CLOSED? I think
this is the simplest solution, although I'm not sure about the amount of
changes needed... 

Maybe this is enough:
- call TCP_REG(tcp_pcbs_closed, newpcb) in tcp_new()
- call tcp_pcb_remove(tcp_pcbs_closed, pcb) in tcp_connect() and
tcp_listen()

and then test tcp_pcbs_closed when binding. What do you think?

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?1895>

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





reply via email to

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