[Top][All Lists]

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

[lwip-devel] [task #6969] Review usage of conn->err in netconn layer

From: Frédéric Bernon
Subject: [lwip-devel] [task #6969] Review usage of conn->err in netconn layer
Date: Tue, 26 Jun 2007 18:01:41 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv: Gecko/20070515 Firefox/

Follow-up Comment #13, task #6969 (project lwip):

About "conn->pcb.tcp = NULL;", in err_tcp, I feel that like an error: if the
field is invalided, how could do_delconn do the tcp_close (and indirectly
call tcp_pcb_remove)? Or tcp_pcb_remove is called by the function which call

But I always think that conn->err is better, since it provide a way to know
why what kind of error we get. More, it's more generic when we have non-tcp
netconn types...


Reply to this item at:


  Message posté via/par Savannah

reply via email to

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