[comp.sys.mac.programmer] AddrBlock not being filled in GetRequest?

dank@calvin.usc.edu (Dan King) (02/13/91)

(Bug! Bug! Pester! Pester!)

In a program I'm writing, I set up an ATP socket and prepare to
receive a message via a call to "PGetRequest".  This works fine (after
I realized that I had to set the ioCompletion field to a nil, that
is).  I then send a message from another machine and, sure enough, the
ioResult field in the param block passed to PGetRequest goes to zero
(noErr).  This is good.  What doesn't seem to be working is the
"AddrBlock" field in the param block.  InsideMac says it should be set
to the address of the packet's sender.  This doesn't seem to be the
case, however.  It seems as if this field is set to something close to
the address for the first packet, then mangled a little more for each
successive packet.

Has anyone else noticed this?  HELP!

Thanks,
dank