System.Tether.TCPProtocol.TTetheringTCPProtocol.Create
Delphi
constructor Create(const AnAdapter: TTetheringAdapter; AsClient: Boolean = False); override;
C++
__fastcall virtual TTetheringTCPProtocol(System::Tether::Manager::TTetheringAdapter* const AnAdapter, bool AsClient);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| constructor | public | System.Tether.TCPProtocol.pas System.Tether.TCPProtocol.hpp |
System.Tether.TCPProtocol | TTetheringTCPProtocol |
Description
Creates an instance of TTetheringTCPProtocol.
AsClient determines whether the created instance must work as a client only (True) or both as a client and as a server (False).