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: Simon Goldschmidt
Subject: [lwip-devel] [task #7017] Implement DNS client
Date: Thu, 15 Nov 2007 21:07:28 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9

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

I've created a function netconn_gethostbyname (in api_lib.c),
do_gethostbyname(in api_msg.c) and gethostbyname (in sockets.c, using
netconn_gethostbyname).

Almost everything is pretty straightforward except for the method to block
the application thread: I've had to allocate a semaphore for every call to
netconn_gethostbyname, since there is no netconn available (or else
gethostbyname would need a socket parameter).

If this is OK, implementing the remaining functions (_r or whatever) isn't
that hard.

Pls see attached patch.

(file #14408)
    _______________________________________________________

Additional Item Attachment:

File name: dns_api.patch                  Size:10 KB


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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