Serial Framework
ContentsIndexHome
PreviousUpNext
CwclServerConnection::CreateNewClientConnection Method

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

Syntax
C++
int CreateNewClientConnection(void* Params, unsigned long ParamsSize);
Parameters 
Description 
void* Params 
An optional pointer to the hardware depended data contains information about client connection request.  
unsigned long ParamsSize 
An optional parameters size.  

If the function successed the return value is 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.

Copyright (c) 2006-2017. All rights reserved.