Topic: assert!!netconn_accept: invalid recvmbox
Hello,
I am trying to create a demo client-server on our lwip module. We have no filesystem.
In client side when I call
wolfSSL_connect(ssl)
for the first time the client need to say hello to server so it calls EmbedSend and in the line
208 sent = SEND_FUNCTION(sd, &buf[sz - len], len, 0);//SEND_FUNCTION is defined as lwip send
sends the buf to the server.
on the server side in wolfSSL_accept(ssl)
On function EmbedReceive when the server goes to the line where it has to read the clients hello
163 recvd = RECV_FUNCTION(sd, (char *)buf, sz, 0);
it print me in the screen the message
"assert!!netconn_accept: invalid recvmbox"
and server stucks there.
Does anyone know what the problem might be?