Post by zhangychWhen I recv a message from remote appc program,can i set a timeout check?
Using the asynchronous APPC API you can have do a RECEIVE_AND_POST
call and then later do a DEALLOCATE(abend) or SEND_ERROR or TP_ENDED
and the RECEIVE_AND_POST will callback with primary_rc=AP_CANCELLED.
The time between doing the RECEIVE_AND_POST and a subsequent call
which cancels the pending RECEIVE_AND_POST is up to you.
See the RECEIVE_AND_POST section of the CS/AIX APPC Programmer's Guide
and look for the AP_CANCELLED description for more details.
Paul Landay