lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] dns_gethostbyname


From: Sandra Gilge
Subject: [lwip-users] dns_gethostbyname
Date: Thu, 30 Apr 2015 10:37:27 +0200

Hallo,

 

I’m using lwip 1.4.1 with sockets in a multithreaded system. Still I want to use dns_gethostbyname directly because it is non-blocking.

I can’t use getaddrinfo because it is blocking (furthermore it seems to have problems, when lwip is reconfigured and dns_init is called a second time during runtime, then it blocks forever, but that is another issue)

 

It is stated that dns_gethostbyname is for the raw-api. Is there a reason to use it in combination with sockets? Is there a thread safety issue?

 

Best regards,

Sandra

 

 

 

 


reply via email to

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