mfp_GetReply

Description

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

The mfp_GetReply function 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 in the C select function to wait for the socket to be ready for read or write access. To avoid memory leaks, use the mfp_FreeReply function to free the reply structure.

Syntax

t_mfpreply* mfp_GetReply(h_mfp hMFP, int Timeout);

Parameters

Example

Related commands

mfp_FreeReply

mfp_Connect

mfp_GetSocket

mfp_Authenticate

mfp_SubmitMessage

mfp_StatusToString

mfp_GetLastError