Show: Object Pascal C++
Display Preferences

System.Tether.Manager.TTetheringManager.AutoConnect

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

procedure AutoConnect(Timeout: Cardinal; const ATarget: string = ''); overload;
procedure AutoConnect(const ATarget: string = ''); overload;
procedure AutoConnect(Timeout: Cardinal; const ATargetList: TTetheringTargetHosts); overload;
procedure AutoConnect(const ATargetList: TTetheringTargetHosts); overload;

C++

void __fastcall AutoConnect(unsigned Timeout, const System::UnicodeString ATarget = System::UnicodeString())/* overload */;
void __fastcall AutoConnect(const System::UnicodeString ATarget = System::UnicodeString())/* overload */;
void __fastcall AutoConnect(unsigned Timeout, const System::DynamicArray<System::UnicodeString> ATargetList)/* overload */;
void __fastcall AutoConnect(const System::DynamicArray<System::UnicodeString> ATargetList)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Tether.Manager.pas
System.Tether.Manager.hpp
System.Tether.Manager TTetheringManager

Description

Starts the automatic connection to remote managers on each registered adapter.

AutoConnect accepts two parameters:

  • <Timeout> (Optional): Time in milliseconds that the discovery should last before each adapter registers in this manager any discovered remote manager.
  • <ATargetList> or <ATarget> (Optional): You can specify a list of one or more targets for the discovery.
    • For network adapters, <ATargetList> can be a list of IP adresses or subnets. If you do not specify this parameter, an adapter will search for managers on the local network.
    • For Bluetooth adapters, <ATargetList> can be a list of Bluetooth device names or Bluetooth MAC addresses. If you do not specify this parameter, an adapter will search for managers from the list of paired devices.

See Also

Personal tools
Translations