home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / protocol / appletal / 3097 < prev    next >
Encoding:
Text File  |  1992-08-15  |  1.7 KB  |  50 lines

  1. Newsgroups: comp.protocols.appletalk
  2. Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!eagle!data.nas.nasa.gov!taligent!ditka.taligent.com!user
  3. From: amfahr@taligent.com (Jeff Amfahr)
  4. Subject: Re: ASPGetStatus call..
  5. Message-ID: <amfahr-150892135957@ditka.taligent.com>
  6. Followup-To: comp.protocols.appletalk
  7. Sender: usenet@taligent.com (More Bytes Than You Can Read)
  8. Organization: Taligent
  9. References: <1992Aug15.001427.22639@gumby.dsd.trw.com>
  10. Date: Sat, 15 Aug 1992 21:02:52 GMT
  11. Lines: 37
  12.  
  13. In article <1992Aug15.001427.22639@gumby.dsd.trw.com>,
  14. hubbell@gumby.dsd.trw.com (Steve Hubbell) wrote:
  15. > I am having some problems with an ASPGetStatus call that I am hoping is
  16. > easy to be resolved.  Looking at Inside Macintosh and the on-line
  17. > documentation, it looks like ASPGetStatus is expecting:
  18. > --> 26  csCode      word
  19. > --> 30  aspTimeout     byte
  20. > --> 31  aspRety         byte
  21. > --> 32  serverAddr      long word
  22. > <-> 38  rbSize          word
  23. > --> 40  rbPtr        pointer
  24. > --> 50  ccbStart        record
  25. > where ASPGetStatus is defined as:
  26. > pascal OSErr ASPGetStatus(XPPParmBlkPtr thePBptr,Boolean async)
  27. > Well, my problem is that XPPParmBlkPtr has no provisions for serverAddr.
  28. > It does not seem to match what ASPGetStatus is expecting.  Is this a known
  29. > problem?  How should I go about avoiding this problem?
  30. > Thanks for any help/suggestions!
  31. > Steve
  32. > (hubbell@gumby.dsd.trw.com)
  33.  
  34. AppleTalk.h should provide a Status param block but doesn't. Just use the
  35. field from the open variant. That is
  36.             aParmPtr->XPP.csCode = getStatus;
  37.             aParmPtr->OPEN.serverAddr                = addrBlock;
  38.             aParmPtr->XPP.rbSize                    = rbSize;
  39. etc.
  40.  
  41.  
  42.   Jeff Amfahr
  43.         (amfahr@taligent.com)
  44. These opinions are mine. But they can be yours for a price.
  45.