2015-09-07 14:17 GMT+02:00 Sergio R. Caprile <[email protected]>:

> It depends on what you mean by "context".
>
>
The structure is as follows (all non-OS and with RAW API):

With tcp_recv() I set up a receive-callback function my_recv(). my_recv()
is triggered by lwIP whenever some data are received. Some of these data
may contain an information "connection will be closed by host".

My question: can I do a tcp_close() from within my_recv() which is called
in lwIP's receive-context (which possibly may be a receive-IRQ)?

Thanks!
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to