Kinetis SDK v.1.2.0, getaddrinfo() issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Kinetis SDK v.1.2.0, getaddrinfo() issue

783件の閲覧回数
ashishpatel
Contributor I

I am using Kinetis SDK 1.2.0  and IAR for experiments.

While I am trying to resolve host name using getaddrinfo() it always returns 4. Does anybody has idea, why it was doing so?

0 件の賞賛
返信
1 返信

668件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Patel:

error code 4 = EAI_FAIL, it means non-recoverable failure in name resolution. Please check the family, AF_INET OR AF_INET6 , or other value?

Regards

Daniel

0 件の賞賛
返信