home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.protocols.appletalk
- 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
- From: amfahr@taligent.com (Jeff Amfahr)
- Subject: Re: ASPGetStatus call..
- Message-ID: <amfahr-150892135957@ditka.taligent.com>
- Followup-To: comp.protocols.appletalk
- Sender: usenet@taligent.com (More Bytes Than You Can Read)
- Organization: Taligent
- References: <1992Aug15.001427.22639@gumby.dsd.trw.com>
- Date: Sat, 15 Aug 1992 21:02:52 GMT
- Lines: 37
-
- In article <1992Aug15.001427.22639@gumby.dsd.trw.com>,
- hubbell@gumby.dsd.trw.com (Steve Hubbell) wrote:
- >
- > I am having some problems with an ASPGetStatus call that I am hoping is
- > easy to be resolved. Looking at Inside Macintosh and the on-line
- > documentation, it looks like ASPGetStatus is expecting:
- >
- > --> 26 csCode word
- > --> 30 aspTimeout byte
- > --> 31 aspRety byte
- > --> 32 serverAddr long word
- > <-> 38 rbSize word
- > --> 40 rbPtr pointer
- > --> 50 ccbStart record
- >
- > where ASPGetStatus is defined as:
- > pascal OSErr ASPGetStatus(XPPParmBlkPtr thePBptr,Boolean async)
- >
- > Well, my problem is that XPPParmBlkPtr has no provisions for serverAddr.
- > It does not seem to match what ASPGetStatus is expecting. Is this a known
- > problem? How should I go about avoiding this problem?
- >
- > Thanks for any help/suggestions!
- > Steve
- > (hubbell@gumby.dsd.trw.com)
-
- AppleTalk.h should provide a Status param block but doesn't. Just use the
- field from the open variant. That is
- aParmPtr->XPP.csCode = getStatus;
- aParmPtr->OPEN.serverAddr = addrBlock;
- aParmPtr->XPP.rbSize = rbSize;
- etc.
-
-
- Jeff Amfahr
- (amfahr@taligent.com)
- These opinions are mine. But they can be yours for a price.
-