resnick@cogsci.uiuc.edu (Pete Resnick) (11/02/90)
(Tried posting this to mac.programmer with no reponse) I have been having a problem with the MacTCP Domain Name Resolver and can't seem to find any documented answers. I can't figure out how to cancel a DNR request. Actually, I would be perfectly happy if I could figure out how to set a timeout on the name lookup, but I can't even figure out that. Basically, it doesn't say anywhere how to set a timeout for the DNR, and as far as cancelling goes, here is the description of CloseResolver: Before the application exits, the CloseResolver call must be made to release memory structures and terminate all outstanding domain name server calls. CloseResolver should not be called until all outstanding resolver calls have been completed. Now what is that supposed to mean?!?!? Can I call CloseResolver to "terminate all outstanding domain name server calls" or can't I? Even if I can't, I would settle for having a timeout to set to get rid of the lookup. Any hope here? pr -- Pete Resnick (...so what is a mojo, and why would one be rising?) Graduate assistant - Philosophy Department, Gregory Hall, UIUC System manager - Cognitive Science Group, Beckman Institute, UIUC Internet/ARPAnet/EDUnet : resnick@cogsci.uiuc.edu BITNET (if no other way) : FREE0285@UIUCVMD