System.Bluetooth.TBluetoothDevice.DoCreateClientSocket

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DoCreateClientSocket(const AUUID: TGUID; Secure: Boolean): TBluetoothSocket; virtual; abstract;

C++

virtual TBluetoothSocket* __fastcall DoCreateClientSocket(const GUID &AUUID, bool Secure) = 0 ;

Properties

Type Visibility Source Unit Parent
function protected
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth TBluetoothDevice

Description

Note: This is an abstract method that platform-specific subclasses of TBluetoothDevice implement.

Returns a socket to connect as a client to the specified service of the remote device and exchange data.

CreateClientSocket calls DoCreateClientSocket.

DoCreateClientSocket receives the following parameters:

  • AUUID is the unique identifier of the service to connect.
  • Secure determines whether the connection to the service should be secure (True), using device authentication and encrypted communication, or if the connection does not need to be secure (False). Data transmission is faster using unsecure connections.

See Also