lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #6277] getaddrinfo implementation


From: Simon Goldschmidt
Subject: [lwip-devel] [patch #6277] getaddrinfo implementation
Date: Fri, 23 Nov 2007 18:29:27 +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

URL:
  <http://savannah.nongnu.org/patch/?6277>

                 Summary: getaddrinfo implementation
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: goldsimon
            Submitted on: Freitag 23.11.2007 um 18:29
                Category: None
                Priority: 1 - Later
                  Status: Wont Do
                 Privacy: Public
             Assigned to: goldsimon
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

I'm posting an implementation of getaddrinfo() / freeaddrinfo() based on
netconn_gethostbyname().

a) so that people who need it can easily add it
b) that my code doesn't get lost, maybe we need it some time

(getaddrinfo() is the thread-safe successor of the outdated function
gethostbyname(), which is not thread-safe. lwIP has included a glibc-like
gethostbyname_r() function, which is thread-safe but some applications might
already use getaddrinfo(). Use this 'patch' to be able to compile them.)

This is not a real patch, just two files. Add the contents to
sockets.c/sockets.h



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Freitag 23.11.2007 um 18:29  Name: getaddrinfo_add_to_sockets.c  Size:
3kB   By: goldsimon

<http://savannah.nongnu.org/patch/download.php?file_id=14467>
-------------------------------------------------------
Date: Freitag 23.11.2007 um 18:29  Name: getaddrinfo_add_to_sockets.h  Size:
1kB   By: goldsimon

<http://savannah.nongnu.org/patch/download.php?file_id=14468>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?6277>

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





reply via email to

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