home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!caen!umeecs!news
- From: Ed Wynne <Arwyn@engin.umich.edu>
- Subject: MacTCP: To Resolve or Not To Resolve ???
- Message-ID: <1992Aug18.020634.8242@zip.eecs.umich.edu>
- Sender: news@zip.eecs.umich.edu (Mr. News)
- Organization: Computer-Aided Engineering Network
- X-Useragent: Nuntius v1.1a2
- Date: Tue, 18 Aug 1992 02:06:34 GMT
- Lines: 19
-
-
- I am in involved in writing an application (Think C 5.0.2)
- that will get the ip address of the mac its running on
- and do a name lookup on it. The problem I'm having is really
- weird. If I'm the first app to use MacTCP when I make the
- AddrToName call, MacTCP will never come back. It doesn't
- necessarily hang, just generates an infinite cache fault. If
- another program initializes MacTCP before me then everything
- works fine. Is there something I'm missing? I do all the
- opendriver and openresolver calls for MacTCP and they don't
- return errors.
-
-
- ------------------------------------
- Ed Wynne
- The University of Michigan
- Computer-Aided Engineering Network
-
- (arwyn@engin.umich.edu)
-