TwclRfCommServerConnectEvent Delegate

The prototype of the OnConnect event handler for RFCOMM server.

Namespace: wclBluetooth
type
 TwclRfCommServerConnectEvent = procedure(Sender: TObject;
 const Client: TwclRfCommServerClientConnection;
 const Error: Integer) of object;

Parameters

Sender

The object that initiated the event.

Client

The TwclRfCommServerClientConnection represents a remote connected client.

Error

The connection operation result code. If the parameter is wclErrors.WCL_E_SUCCESS the connection to a remote device was established and the remote device is connected. Otherwise the connection was not established and the remote device is not connected.