System.Tether.NetworkAdapter.TTetheringNetworkManagerCommunicationThread.StartListening
Delphi
function StartListening(const ATarget: string): Boolean; virtual;
C++
virtual bool __fastcall StartListening(const System::UnicodeString ATarget);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | protected | System.Tether.NetworkAdapter.pas System.Tether.NetworkAdapter.hpp |
System.Tether.NetworkAdapter | TTetheringNetworkManagerCommunicationThread |
Description
Starts listening for incoming connections on the specified port (ATarget), and returns True on success or False otherwise.
If StartListening returns False, call StopListening to fix the status in which a failed StartListening call leaves the communication thread.