Serial Framework C++ Edition

◆ CreateNewClientConnection()

int CreateNewClientConnection ( const void *const  Params,
const unsigned long  ParamsSize 
)
protected

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

Parameters
ParamsAn optional pointer to the hardware-dependent data contains information about client connection request.
ParamsSizeAn optional parameters size.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

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