PRelRspCB
Boolean async; 0=await completion; 1=immediate return In an exactly-once transaction, PRelRspCB cancels the specified PSendResponse call, without waiting for the release timer to expire or a TRel packet to be received. No error is returned for the PSendResponse call. When called to cancel a transaction that isn't using exactly-once service,
PRelRspCB returns cbNotFound. The transaction ID can be obtained from Æ csCode short 2 26 always relRspCB
Æ atpSocket char 1 28 socket number that request was
received on
Æ addrBlock AddrBlock 4 30 destination of request Æ transID short 2 48 transaction ID of request async is a Boolean value. Use FALSE for normal ( synchronous) operation or TRUE to enqueue the request and resume control immediately. See Async I/O.
noErr (0) No error
cbNotFound (-1102) ATP control block not found
Notes: To send a request to another socket and get a response, call
PSendRequest. The call terminates when either an entire response is received or a specified retry timeout interval elapses. To open a socket for
the purpose of responding to requests, call POpenATPSkt. Then call PGetRequest to receive a request; when a request is received, the call is completed. After receiving and servicing a request, call PSendResponse to return response information. If you cannot or do not want to send the
entire response all at once, make a PSendResponse call to send some of the response, and then call PAddResponse later to send the remainder of the response. To close a socket opened for the purpose of sending responses,