Hi fellas

I didnt get a reply to my last question. Hope I get it this time.

I have to get the IP address of the host so i use
NetLibSettingGet(..."HostName"... ) to get
the host name and then NetLibGetHostByName() to get the host IP address.
But NetLibSettingGet() gives an error which when displayed with ErrAlert
says
 "Incomplete setup: Please check your network settings (Net121A)"

The intriguing this is that despite of this error, many a times I do get the
correct host IP!!!(specifically the first time I run the program after
reset) other times it gives me memory error!!

Have I missed anything? or is there any other method to get host IP address.
BTW I have checked the "Redirect tcp/ip calls to host...."

thanks in advance
Nihar


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to