[Overview][Resource strings][Constants][Types][Classes][Variables][Index] |
See if a message is available.
Source position: simpleipc.pp line 103
public function TIPCServerComm.PeekMessage( |
Timeout: Integer |
):Boolean; virtual; abstract; |
Timeout |
|
Number of milliseconds to wait for a message. |
True if a message was available.
PeekMessage can be used to see if a message is available: it returns True if a message is available. It will wait maximum TimeOut milliseconds for a message to arrive. If no message was available after this time, it will return False.
If a message was available, it can be read with the ReadMessage call.
|
Read message from the channel. |