home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 14124 < prev    next >
Encoding:
Text File  |  1992-08-17  |  1.0 KB  |  31 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!caen!umeecs!news
  3. From: Ed Wynne <Arwyn@engin.umich.edu>
  4. Subject: MacTCP:  To Resolve or Not To Resolve ???
  5. Message-ID: <1992Aug18.020634.8242@zip.eecs.umich.edu>
  6. Sender: news@zip.eecs.umich.edu (Mr. News)
  7. Organization: Computer-Aided Engineering Network
  8. X-Useragent: Nuntius v1.1a2
  9. Date: Tue, 18 Aug 1992 02:06:34 GMT
  10. Lines: 19
  11.  
  12.  
  13. I am in involved in writing an application (Think C 5.0.2)
  14. that will get the ip address of the mac its running on
  15. and do a name lookup on it.  The problem I'm having is really
  16. weird.  If I'm the first app to use MacTCP when I make the
  17. AddrToName call, MacTCP will never come back.  It doesn't
  18. necessarily hang, just generates an infinite cache fault.  If
  19. another program initializes MacTCP before me then everything
  20. works fine.  Is there something I'm missing?  I do all the
  21. opendriver and openresolver calls for MacTCP and they don't
  22. return errors.
  23.  
  24.  
  25. ------------------------------------
  26. Ed Wynne
  27. The University of Michigan
  28. Computer-Aided Engineering Network
  29.  
  30. (arwyn@engin.umich.edu)
  31.