Check whether the server posted a response.
Source position: advancedsingleinstance.pas line 68
| public function TAdvancedSingleInstance.ClientPeekCustomResponse( | 
| const aStream: TStream; | 
| out outMsgType: Integer | 
| ):Boolean; | 
| aStream | 
 | The stream in which to read the message. | 
| outMsgType | 
 | The type of the received message. | 
True if a message was received, False otherwise.
ClientPeekCustomResponse checks if the server posted any responses. It returns True if there was a message, and returns the message type in outMesgType, the payload is read into the stream aStream. The message timeout TimeoutMessages is observed: if no message arrived before the timeout expires the call will return False.
If this application instance is not a client instance, then a ESingleInstance exception is raised. The aStream must be non-nil, or an access violation will occur.
| 
 | Post a server response to the client. |