Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!claris!outpost.UUCP!peirce From: peirce@outpost.UUCP (Michael Peirce) Newsgroups: comp.sys.mac.programmer Subject: Re: AppleTalk Interface bug in Think C? Message-ID: <0B010004.0av1ap@outpost.UUCP> Date: 13 Feb 91 02:42:59 GMT Reply-To: peirce@outpost.UUCP Organization: Peirce Software Lines: 27 X-Mailer: uAccess - Mac Release: 1.0.3 In article <1991Feb12.130352.25787@nada.kth.se>, d90-erl@dront.nada.kth.se (Erland Lewin) writes: > > > We are having a very strange problem with AppleTalk in ThinkC v4.02. > > We have written a client and a server program. The server uses atpOpenSocket > and NBPRegister, then the Client finds him via NBPLookup. So far everything > works perfectly. > > But then the Server does an atpGetRequest, and the Client an > atpRequest. This does not work. When the same calls with the same > parameters are made in MPW Pascal, everything works perfectly. Are you using the "new" preferred AppleTalk interface as documented in Inside Macintosh volume V? It appears you aren't. Check them out, the old routines (that use Network Events) are not suppose to be used any more. -- michael -- Michael Peirce -- outpost!peirce@claris.com -- Peirce Software -- Suite 301, 719 Hibiscus Place -- Macintosh Programming -- San Jose, California 95117 -- & Consulting -- (408) 244-6554, AppleLink: PEIRCE -- Ask me about AppSizer (and ask Claris about Public Folder :-)