System.Tether.NetworkAdapter.TTetheringNetworkAdapter

From RAD Studio API Documentation
Jump to: navigation, search

System.Tether.Manager.TTetheringAdapterSystem.TObjectTTetheringNetworkAdapter

Delphi

TTetheringNetworkAdapter = class(TTetheringAdapter)

C++

class PASCALIMPLEMENTATION DECLSPEC_DRTTI TTetheringNetworkAdapter : public System::Tether::Manager::TTetheringAdapter

Properties

Type Visibility Source Unit Parent
class public
System.Tether.NetworkAdapter.pas
System.Tether.NetworkAdapter.hpp
System.Tether.NetworkAdapter System.Tether.NetworkAdapter

Description

Adapter for app tethering that provides support for connecting applications on the same device or over the network using UDP. See Connecting to Remote Applications Using App Tethering.

In addition to implementing the interface of TTetheringAdapter, TTetheringNetworkAdapter provides logging capabilities for debugging.

Requirements

To use TTetheringNetworkAdapter:

  • Your applications must be running on the same device, or on devices on a common network, such as a local area network (LAN) or the internet.
  • The system firewall must allow incoming UDP connections.
  • UDP ports from 2020 to 2040 must be open.

Limitations

TTetheringNetworkAdapter uses UDP ports 2020 to 2040. As a result, you can only have up to 21 instances of TTetheringNetworkAdapter on the same device at once. For example, you can have up to 21 applications running on each device of the local area network provided that they use a single instance of TTetheringNetworkAdapter each.

See Also