wip_TCPClientCreate() canot active evHandler in blocked task

Hi,

I am developping a network application on open AT device and met an issue:
If I call wip_TCPClientCreate() in a task created by myself, I found that the socket’s evHandler will not be called if my task does not return(my task calls adl_ctxSleep() and blocks). If my task returns, the evHandler will be invoked. In the adl_main() task, I got the same result.

Is this normal?

Hi,

It seems like it is a normal behavior. The event handler will be invoked only when the adl_ctxSleep() returns.