IPCLinkEndpoint::ReceiveMessage (open)

Receives a message from the other endpoint

Syntax

LOADLIB "wh::internal/jobs.whlib";

RECORD FUNCTION ReceiveMessage(DATETIME wait_until)

Parameters

DATETIME wait_until

Block until this time, DEFAULT DATETIME for immediate return.

Return value

RECORD

Result of the action

msg

The received message (only when status = 'ok')

msgid

Id of the message (only when status = 'ok')

status

One of the following codes: 'ok': message received successfully 'timeout': no message was present 'gone': other endpoint of the link has been closed