This SYNC AcceptNextConnection method returns the client socket handle this way :
clientSocket = CkSocket_AcceptNextConnection(listenSocket,0);
How to obtain the same result with the ASYNC method ?
task = CkSocket_AcceptNextConnectionAsync(listenSocket,0);
The following "CkTask_resultType(task);" return "object"
i.e. how to get the handle of an object just having the task ?
There's no problem with boolean (CkTask GetResultBool), integer CkTask GetResultInt), string results... but with an objet ?