[lwip-users] Call tcp_close() out of tcp_recv()-context?
From:
Karl Karpfen
Subject:
[lwip-users] Call tcp_close() out of tcp_recv()-context?
Date:
Mon, 7 Sep 2015 13:01:43 +0200
Hi,
I'm using raw-API within my application and have defined a receive-callback by using tcp_recv(). Now it may happen a close-command (from my own protocol running on top of TCP/IP) is received within this receive-callback.
My question: is it allowed to call tcp_close() out of the context of this receive-function?