Unit 'AdvancedIPC' Package
[Overview][Resource strings][Constants][Types][Classes][Index] [#fcl]

TIPCServer.PeekRequest

Peek at incoming requests from clients

Declaration

Source position: advancedipc.pp line 147

public function TIPCServer.PeekRequest(

  const aStream: TStream;

  out outMsgType: TMessageType

):Boolean; overload;

function TIPCServer.PeekRequest(

  const aStream: TStream;

  out outRequestID: Integer;

  out outMsgType: TMessageType

):Boolean; overload;

function TIPCServer.PeekRequest(

  const aStream: TStream;

  out outRequestID: Integer;

  out outMsgType: TMessageType;

  const aTimeOut: Integer

):Boolean; overload;

function TIPCServer.PeekRequest(

  out outMsgType: TMessageType

):Boolean; overload;

function TIPCServer.PeekRequest(

  out outRequestID: Integer;

  out outMsgType: TMessageType

):Boolean; overload;

function TIPCServer.PeekRequest(

  out outRequestID: Integer;

  out outMsgType: TMessageType;

  const aTimeOut: Integer

):Boolean; overload;

Arguments

aStream

  

Stream to receive request data

outMsgType

  

Returns the request message type

Function result

True if request was available

Arguments

aStream

  

Stream to receive request data

outRequestID

  

Returns the request ID

outMsgType

  

Returns the request message type

Arguments

aStream

  

Stream to receive request data

outRequestID

  

Returns the request ID

outMsgType

  

Returns the request message type

aTimeOut

  

Timeout in milliseconds

Arguments

outMsgType

  

Returns the request message type

Arguments

outRequestID

  

Returns the request ID

outMsgType

  

Returns the request message type

Arguments

outRequestID

  

Returns the request ID

outMsgType

  

Returns the request message type

aTimeOut

  

Timeout in milliseconds

Description

The PeekRequest function retrieves incoming requests from clients. Multiple overloads support immediate checking or waiting with timeout. Some overloads read the message content directly, others only peek and require ReadRequest to get the content.

See also

ReadRequest

  

Read a previously peeked request

PostResponse

  

Send response back to client


Documentation generated on: Dec 15 2025