In OS 5, NetLibGetHostByName() returns a non-zero value even if there is
an error.
To reproduce it, call NetLibGetHostByName() to resolve an non-existing
host name.
In OS 4 Emulator, NetLibGetHostByName() will return zero and err will
have a value of 4668. This is the correct case.
In OS 5 Simulator (rel_dr12), NetLibGetHostByName() will return
non-zero, but the returned NetHostInfoPtr will have addrType=0,
addrLen=0 and err=4625.
In Tungsten T, NetLibGetHostByName() will return non-zero, but the
returned NetHostInfoPtr will have addrType=0, addrLen=0 and err=4688.
I have submitted the case to PalmOS.com already.
Thanks.
Tony Cheung
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
