Brew Question:
Download Questions PDF

Why does GetHostByName() not work on my phone?

Brew Interview Question
Brew Interview Question

Answer:

For INETMGR_GetHostByName() to function correctly, the phone's Domain Name Server (DNS) settings must be properly configured. This is generally taken care of by the Service Provider, in which case the phone should be returned to the place of purchase, or an authorized service center so that its DNS settings can be properly configured.

Download Brew Interview Questions And Answers PDF

Previous QuestionNext Question
When will BREW offer HTTP Support?Why do we get the value of 0.0.0.0 in dnsresult.addrs when I use GetHostByName()?