Thank you so much for the information, has been of great value.

Really? amazing! smile. And tell me, is it the same with wolf_write and wolf_read?

Hi again!
I've been cheking the function:
int wolfSSL_accept(WOLFSSL* ssl)
Seems like I have to 'unroll' whe 'while' statemtns in the final switch:
switch (ssl->options.acceptState)
Any other built in alternative?

Hello !
I'm trying to make wolfSSL embedded ssl work in an OS-less, non blocking I/o environment. Is a "superloop" app. Is the synchronization of many state machines, one of them read queued buffers to transmit, and transmit them.  The server state machine has to post data, leave the control of the state machine and then is state will be evaluated when the data is transmitted again.
My worried is about the handshaking. Since basically all it's done inside "makeHandshake()" in some moment it will block. Is there a build in option to avoid this behavior and make it work with this constraints.

Thank you in advance!