[comp.sys.mac.programmer] Prefered AppleTalk problem

mikeoro@hubcap.clemson.edu (Michael K O'Rourke) (05/29/89)

I am rewriting some old NBP/DDP AppleTalk code to use the new prefered
interface and ATP.  I, however, have run into a snag with sending a response
to a requesting socket.

I set up the ioCompletion for my PGetRequest call to go to a routine.  The first
thing that routine does is to send a dummy response (no real data) to the 
requesting socket.  The response never get there.  I looked into the addrBlock
field of the completed PGetRequest call to see if the address was correct. 
(This address is used to figure out who to send the response to).  

Well, the address was way off.  Only the node was correct.  Both the socket and
network numbers were off.  Anybody out there run into this?  I'd be glad to
post the request/response code or send it to someone who knows their Appltalk.

Michael O'Rourke.

mikeoro@hubcap.clemson.edu (Michael K O'Rourke) (06/02/89)

I posted this question last week but got no response. So let's try again.


I am rewriting some old NBP/DDP AppleTalk code to use the new prefered
interface and ATP.  I, however, have run into a snag with sending a response
to a requesting socket.

I set up the ioCompletion for my PGetRequest call to go to a routine.  The first
thing that routine does is to send a dummy response (no real data) to the 
requesting socket.  The response never get there.  I looked into the addrBlock
field of the completed PGetRequest call to see if the address was correct. 
(This address is used to figure out who to send the response to).  

Well, the address was way off.  Only the node was correct.  Both the socket and
network numbers were off.  Anybody out there run into this?  I'd be glad to
post the request/response code or send it to someone who knows their Appltalk.

Michael O'Rourke.