lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [task #7017] Implement DNS client


From: Frédéric Bernon
Subject: [lwip-devel] [task #7017] Implement DNS client
Date: Thu, 15 Nov 2007 22:45:33 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9

Follow-up Comment #34, task #7017 (project lwip):

Good job ! Only some details to see:

- I will add in sockets.h :

#define h_addr h_addr_list[0]  /* for backward compatibility */

- I will remove from sockets.h the lwip_fill_hostent define, and move it in
sockets.c (or directly in gethostbyname since this is the only place where it
is used)

- lwip_fill_hostent seems wrong (?): h_aliases should not be NULL, but
h_aliases[0] can be set to NULL. h_addr_list can't be a pointer to
s_hostent_addr, but h_addr_list[0] is.

- I'm not sure that SYS_ARCH_DECL_PROTECT/SYS_ARCH_PROTECT/SYS_ARCH_UNPROTECT
(in gethostbyname) give any protection. But in all cases, as I said in comment
#29, I want to got a solution with macros to let the port choose between a
"static" or a "per-thread" set of variables if it's need it (and support it).

In all cases, you can check in your patch (I will do my changes later)...


    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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