Hi all,
When I call the NetLib function
hostInfoP = NetLibGetHostByName (sNetLibRefNum,
hostNameP,
hostInfoBufP,
kNetTimeout * SysTicksPerSecond (),
&err);
The call fails and returns an error in the param &err.
So I check what this error is by printing it out.
StrPrintF (sText, "Error %c retrieving host address", err);
But instead of getting one of these following possible errors
0
netErrTimeout
netErrNotOpen
netErrDNSNameTooLong
netErrDNSBadName
netErrDNSLabelTooLong
netErrDNSAllocationFailure
netErrDNSTimeout
netErrDNSUnreachable
netErrDNSFormat
netErrDNSServerFailure
netErrDNSNonexistantName
netErrDNSNIY
netErrDNSRefused
netErrDNSImpossible
netErrDNSNoRRS
netErrDNSAborted
netErrDNSBadProtocol
netErrDNSTruncated
netErrDNSNoRecursion
netErrDNSIrrelevant
netErrDNSNotInLocalCache
I get the error �P�. When i print it out as an integer it is Error 4688.
Has anyone come across this error and know what it means? I�ve searched
through the knowledge base, documentation and newsgroups, but I havent found
this error.
Thanks in advance.
Ray
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/