System.Tether.NetworkAdapter.TTetheringNetworkManagerCommunicationThread.StartListening

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also