System.Bluetooth.TBluetoothManager.CreateServerSocket

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CreateServerSocket(const AName: string; const AUUID: TGUID; Secure: Boolean): TBluetoothServerSocket;

C++

TBluetoothServerSocket* __fastcall CreateServerSocket(const System::UnicodeString AName, const GUID &AUUID, bool Secure);

Properties

Type Visibility Source Unit Parent
function public
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth TBluetoothManager

Description

Creates a server socket that provides a Bluetooth service.

CreateServerSocket receives the following parameters:

  • AName is the human-readable name of your new Bluetooth service, such as "My Bluetooth Service".
  • AUUID is the unique identifier of your new Bluetooth service, such as "{00001135-0000-1000-8000-00805F9B34FF}".
  • Secure determines whether connections to your new Bluetooth service should be secure (True) or not (False). If you request secure connections, remote devices connecting to your service are authenticated and communications with your service are encrypted.

See Also