Book Image

Delphi Cookbook

By : Daniele Teti
Book Image

Delphi Cookbook

By: Daniele Teti

Overview of this book

Table of Contents (14 chapters)
Delphi Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Using App Tethering to create a companion app


App Tethering is one of the features introduced in RAD Studio XE6. App Tethering allows you to connect applications to exchange in a so-called serverless mode. In other words, this gives to your applications the ability to interact with other applications running either on the same machine or on a remote machine without using a server because the applications communicate directly with each other.

Currently, App Tethering works between applications running on the same LAN, but their features do not depend on a specific transport or protocol. New protocols can be implemented using the app tethering API.

To enable an application to use app tethering, only two components are required:

  • TTetheringManager: This is used to discover other applications that are using app tethering on the same LAN, or even on the same machine or devices

  • TTetheringAppProfile: This is used to define the actions and data that your application shares with other applications previously...