System.Tether.NetworkAdapter.TTetheringNetworkManagerCommunicationThread_UDP.StartListening
Delphi
function StartListening(const ATarget: string): Boolean; override;
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_UDP |
Description
Starts listening for incoming connections on the specified port (ATarget
), and returns True
on success or False
otherwise.
System.Tether.NetworkAdapter.TTetheringNetworkManagerCommunicationThread UDP.StartListening inherits from System.Tether.NetworkAdapter.TTetheringNetworkManagerCommunicationThread.StartListening. All content below this line refers to System.Tether.NetworkAdapter.TTetheringNetworkManagerCommunicationThread.StartListening.
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.