Quantcast
Channel: Chilkat Forum - latest questions
Viewing all articles
Browse latest Browse all 1061

How to get the client socket handle after an ASYNC Socket_AcceptNextConnection task ?

$
0
0

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 ?


Viewing all articles
Browse latest Browse all 1061

Trending Articles