A usage of request/response problem #2316
-
|
hi, I want to use Listener and Waitset both in one request , I modified code according example I want to implement a function that when request_send has only one parameter, requestHandler, the response is obtained through callback. When request_send has two parameters, requestHandler and responseHandler, the response is obtained directly in request_send. here is my code here is the output trace, But the result was not what I expected. The waitSet is replaced by listener. How should I do? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
It is not possible to combine the |
Beta Was this translation helpful? Give feedback.
It is not possible to combine the
WaitSetwith aListener. You have to choose one and wit theClientit should be theWaitSetsince it is not allowed to use theClientoutside theListeneronce attached.