System.Tether.TCPProtocol.TTetheringTCPProtocol.DoSendStream
Delphi
function DoSendStream(const AStream: TStream): Boolean; override;
C++
virtual bool __fastcall DoSendStream(System::Classes::TStream* const AStream);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | protected | System.Tether.TCPProtocol.pas System.Tether.TCPProtocol.hpp |
System.Tether.TCPProtocol | TTetheringTCPProtocol |
Description
Sends the specified stream to the remote protocol and returns True on success or False on failure.
System.Tether.TCPProtocol.TTetheringTCPProtocol.DoSendStream inherits from System.Tether.Manager.TTetheringProtocol.DoSendStream. All content below this line refers to System.Tether.Manager.TTetheringProtocol.DoSendStream.
- Note: DoSendStream is an abstract method that subclasses of TTetheringProtocol implement.
Sends the specified stream to the remote protocol and returns True on success or False on failure.
This function receives a single parameter, AStream, which is the stream to be sent.
DoSendStream returns False if there is a connection error during the transmission of the stream. It returns True otherwise.
SendStream calls DoSendStream.