|
From: | address@hidden |
Subject: | Re: [lwip-users] ppp over serial using gsm modem getting config acknowledgement reject packet. |
Date: | Mon, 23 Feb 2015 20:30:51 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
rohanm wrote:
i am calling 'dns_gethostbyname' function to resovle dns host name. [..] this function is returining 'ERR_INPROGRESS'.GPRS is working in sim card.
Before writing this mail, have you took the time to read the documentation of the function you chose to call? I'm sure you know that 'dns_gethostbyname' is a raw API function that must not be called from outside the tcpip_thread and that it can't block until he response is received, right?
Simon
[Prev in Thread] | Current Thread | [Next in Thread] |