Re: Exception in Mapper?
Re: Exception in Mapper?
- Subject: Re: Exception in Mapper?
- From: Bob Cook <email@hidden>
- Date: Tue, 24 Jun 2003 21:32:37 -0700
Hi Tom,
LOpenTptInetMapper::NameToAddress() will throw exceptions if the
toolbox function ::OTInetStringToAddress() fails. Have you thought
about either catching this exception or otherwise trying to see what
this function might be returning? Off hand it would seem to be
worthwhile to implement a safer strategy, such as automatically
retrying the name resolution several times before giving up - perhaps
the name server is on the fritz? :^)
Good luck,
Bob Cook
On Monday, June 23, 2003, at 09:12 AM, Schaffernoth, Tom wrote:
Hey Folks,
We have released an application for the Mac OS 9.x and 10.x that
implements
networking using Open Transport (OT). Below you can see code that we
have
developed for mapping host name to IP. Every once and a while we will
get a
report that this code generates an exception on some Mac OS 10.x boxes.
Anyone have any idea why?
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.