lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #21656] recvmbox problem in netconn API (netconn_recv


From: Frédéric Bernon
Subject: [lwip-devel] [bug #21656] recvmbox problem in netconn API (netconn_recv and others)
Date: Sun, 02 Dec 2007 16:58:20 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.8.1.10) Gecko/20071115 Firefox/2.0.0.10

Follow-up Comment #6, bug #21656 (project lwip):

I just have a "problem" with the function name
"netconn_alloc_with_proto_and_callback"/. Most (all?) functions prefixed by
netconn_ were in api.h/api_lib.c, and functions prefixed by do_ were in
api_msg.h/.c. Why this one is a exception? do_allocconn could be a better name
?

>/* @todo: should we drain the recvmbox here? */

yes, we should. But like in the previous perhaps it's better to share the
code from "/* Drain the recvmbox. */ + /* Drain the acceptmbox. */" in both
api_lib.c and api_msg.c in a "do_drainconn"?


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/





reply via email to

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