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: Sat, 01 Dec 2007 10:27:18 +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 #80, task #7017 (project lwip):

Are you agree to add in dns_gethostbyname this code :

#if LWIP_HAVE_LOOPIF
  if (strcmp(hostname,"localhost")==0) {
    addr->addr = INADDR_LOOPBACK;
    return DNS_COMPLETE;
  }
#endif /* LWIP_HAVE_LOOPIF */


Of course, it seems possible to loop_netif's ip address to something
different than INADDR_LOOPBACK, but is it very legal? Comments?


    _______________________________________________________

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]