System.Tether.Manager.TTetheringProtocol.SendStream
Delphi
function SendStream(const AStream: TStream): Boolean; inline;
C++
bool __fastcall SendStream(System::Classes::TStream* const AStream);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | System.Tether.Manager.pas System.Tether.Manager.hpp |
System.Tether.Manager | TTetheringProtocol |
Description
Envoie le flux spécifié au protocole distant et renvoie True
en cas de réussite ou False
en cas d'échec.
Cette fonction reçoit un seul paramètre, AStream
, qui est le flux à envoyer.
SendStream renvoie False
en cas d'erreur de connexion durant la transmission du flux. Sinon, elle renvoie True
.
SendStream appelle DoSendStream.