System.Bluetooth.TBluetoothManager.SocketTimeOut

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class property SocketTimeout: Cardinal read FSocketTimeout write FSocketTimeout default 5000;

C++

/* static */ __property unsigned SocketTimeout = {read=FSocketTimeout, write=FSocketTimeout, default=5000};

Properties

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

Description

Maximum time that sockets, created either by your manager or by an instance of TBluetoothDevice that is paired to your manager, must wait for a data transfer to finish.

Sockets attempt data transfers continuously until they succeed. If those attempts take longer than SocketTimeOut, your socket stops trying to perform the data transfer.

The value of SocketTimeOut is 5000 (5 seconds) by default.

Platform Support

Platform SocketTimeOut Support

32-bit Windows
64-bit Windows

YesC++11Feature.png

OS X

Android

YesC++11Feature.png

See Also