TwclServerConnection.CreateNewClientConnection(Pointer,Cardinal) Method

Sends a notification to the main thread to create and init new client connection.

Namespace: wclConnections
protected
 function CreateNewClientConnection(const Params: Pointer;
 const ParamsSize: Cardinal): Integer;

Parameters

Params
Type: Pointer

An optional pointer to the hardware-dependent data contains information about client connection request.

ParamsSize
Type: Cardinal

An optional parameters size.

Return Value

Type: Integer

If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

The HalListen method shoudl call this method to create and initialize new client connection.