System.Tether.Manager.TTetheringProtocol.ReceiveStream

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ReceiveStream(const AStream: TStream): Boolean; inline;

C++

bool __fastcall ReceiveStream(System::Classes::TStream* const AStream);

Properties

Type Visibility Source Unit Parent
function public
System.Tether.Manager.pas
System.Tether.Manager.hpp
System.Tether.Manager TTetheringProtocol

Description

Reads a stream from the remote protocol into the specified variable, and returns True on success or False on failure.

This function receives a single parameter, AStream, which is the stream variable that receives the data of the input stream.

ReceiveStream returns False if there is a connection error during the transmission of the stream. It returns True otherwise.

See Also