[Top][All Lists]

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

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

From: Simon Goldschmidt
Subject: [lwip-devel] [task #7017] Implement DNS client
Date: Fri, 16 Nov 2007 07:17:13 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv: Gecko/20071025 Firefox/

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

> define h_addr h_addr_list[0] 

Isn't that MS only?

> lwip_fill_hostent define, and move it in sockets.c (or directly 
> in gethostbyname since this is the only place where it is used) 

I made it a define because it will be reused in other functions using hosten
(e.g. gethostbyname_r)

> lwip_fill_hostent seems wrong (?): h_aliases should not be NULL

Hehe, I really didn't know how that thing is used and was too lazy to look it
up then. Obviously, it would have to be changed. Please change it if you know
how it should be.

> SYS_ARCH_UNPROTECT (in gethostbyname) give any protection

I don't know either, I only wanted to protect a hostent being mixed between
different calls (e.g. name1, addr2), but that's probably not worth it...

I'll check hostent before checking in.


Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

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