System.Bluetooth.TBluetoothDevice.CreateClientSocket

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function CreateClientSocket(const AUUID: TGUID; Secure: Boolean): TBluetoothSocket;

C++

TBluetoothSocket* __fastcall CreateClientSocket(const GUID &AUUID, bool Secure);

プロパティ

種類 可視性 ソース ユニット
function public
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth TBluetoothDevice


説明

リモート デバイスの指定のサービスに対するクライアントとして接続しデータを交換するためのソケットを返します。

CreateClientSocket は、次のパラメータを受け取ります:

  • AUUID は、接続するサービス一意識別子です。
  • Secure は、サービスへの接続がデバイス認証や暗号化通信を使った安全なものでなければならないか(True)、接続が安全でなくてもかまわないか(False)を指定します。安全性が確保されていない接続を使用する方がデータ伝送は速くなります。

関連項目