Bluetooth Framework
ContentsIndexHome
PreviousUpNext
CwclCustomObexServer::Accept Method

Accepts the client's connection request.

Syntax
C++
int Accept(tstring Description);
Parameters 
Description 
tstring Description 
The service's description.  

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

An application calls this method from DoConnect method or from OnConnect event handler to accept the connection request.  

If the method completed with success the ConnectionId property has valid connection ID that can be used to unique identify the connected client.  

If method failed the connection request has been rejected by the implementation.  

 

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