function Accept(Timeout: Cardinal = 0): TBluetoothSocket;
TBluetoothSocket* __fastcall Accept(unsigned Timeout = (unsigned)(0x0));
Blocks the execution of your application until a connection requested by a remote device is established or until the specified timeout passes, and returns a socket if successful or nil otherwise.
For two Classic Bluetooth devices to establish a connection to each other, one of the devices must request to connect to a service that the other device published, and the other device, in anticipation of this request, must call Accept on its server socket that represents the service that receives the connection request.
Timeout is the number of milliseconds before Accept times out. Use -1 to disable the timeout, so that Accept does not return until there is a connection, no matter how long it takes. Use 0 (default) if you do not want Accept to wait.