Page History
...
Code Block |
---|
Loop Error = PollForReply(hRequest, Status) Begin Case Case Error * An error was returned with the PollForReply function. Retrieve * error text and shutdown connection to remote engine. GoSub Process_Error GoSub Request_Done GoSub Return_Results Case Status EQ PROCESSING$ * Only used with PollForReply. Indicates that the remote engine is * still processing our request. Case Status EQ DATA_AVAILABLE$ * Information is available when the remote engine uses the Send_Dyn * routine in the request. GoSub GoSub Process_Status Case Case Status EQ INFO_AVAILABLE$ * Information is available when the remote engine uses the * Send_Info routine in the request. GoSub GoSub Process_Status Case Case Status EQ INFO_REQUEST$ * The remote engine is requesting information from the client using * the Req_Info routine. Use the SendResponse function to reply. Case Status EQ COMPLETED$ * The remote engine has completed our request (i.e. the end of the * program has been reached.) GoSub Process_Status GoSub Request_Done GoSub Return_Results Case Status EQ PROC_ERROR$ * An error occured in the remote engine request. Any Set_Status * error codes will be returned. GoSub Process_Status GoSub Request_Done GoSub Return_Results End Case Yield() Until Error OR Status EQ COMPLETED$ OR Status EQ PROC_ERROR$ Repeat |
...