System.Tether.TCPProtocol.TTetheringTCPProtocol.Connect
Delphi
function Connect(const AProfile: TTetheringConnection): Boolean; overload; override;
function Connect(const AProfile: TTetheringConnection; ATimeout: Integer): Boolean; overload; override;
C++
virtual bool __fastcall Connect(System::Tether::Manager::TTetheringConnection* const AProfile)/* overload */;
virtual bool __fastcall Connect(System::Tether::Manager::TTetheringConnection* const AProfile, int ATimeout)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Tether.TCPProtocol.pas System.Tether.TCPProtocol.hpp |
System.Tether.TCPProtocol | TTetheringTCPProtocol |
Description
Connects to a remote profile using the specified connection data. It returns True
if the connection is successful, or False
if the connection fails.