MFP.GetReply

Descripiton

Gets the reply to a request to the Message Feed server.

Note: The MFP.GetReply statement is blocking. To avoid blocking the program while waiting for the reply, use the MFP.GetSocket function to obtain a socket that can be used with the Message Builder REGISTER module to wait for the socket to be ready for read or write access.

Syntax

MFP.GetReply hMFP [Timeout timeout] Reply reply;

Parameters

Error handling

When an error occurs, the function throws an exception of type MFP.$Exception and sets the $Error reserved variable to one of the values:

Example

Related commands

MFP.Connect

MFP.GetSocket

MFP.Authenticate

MFP.SubmitMessage

MFP.StatusToString