Sign in Join
FPDoc Onlineexperiment

TIPCClient.SendRequest function

Member of TIPCClientpublicIn unit AdvancedIPC

Send request to server and wait until processed

Declaration

pascal
function SendRequest(const aMsgType: TMessageType; 
 const aStream: TStream; const aTimeOut: Integer)
: Boolean
function SendRequest(const aMsgType: TMessageType; 
 const aStream: TStream; const aTimeOut: Integer; 
 out outRequestID: Integer): Boolean

Arguments

aMsgType

Message type identifier

aStream

Stream containing request data

aTimeOut

Timeout in milliseconds

outRequestID

Returns the request ID

Function result

True if request was processed within timeout

Description

The SendRequest function sends a request to the server and waits until the server has processed it (request file is removed). Returns True if the request was processed within the timeout limit.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.