This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3200: Get Host IP fails

Part Number: CC3200


Hi,

I am facing a strange error.

I am trying to get the IP address of a host : "192.168.2.11" in the cc3200. The call fails with error -172.

The call however succeeds for a host "192.168.3.213".

Is it something to do with the subnet?

The call I am making is : Network_IF_GetHostIP((char*)CAMERA_SERVER, &ulCameraIP); which in turn calls sl_NetAppDnsGetHostByName.

The reason I am making this call for an IP address which is already known is that I want to convert the string form of the IP address into a unsigned long form which I can use for network events like socket create etc.

Can you please clarify?

thanks and regards,

Rajkumar