|Date:||Thu, 30 Apr 2015 10:37:27 +0200|
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?
|[Prev in Thread]||Current Thread||[Next in Thread]|