|Subject:||Re: [lwip-users] smtp app & tcp_connect vs lwip_connect|
|Date:||Sat, 07 Feb 2015 21:07:26 +0100|
|User-agent:||Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0|
Newman, Adam wrote:
Yes. That is, if I understood you correctly. You should use smtp_send_mail_int (see below) when not calling from tcip_thread.
Yes, it is.
You did not do that from within tcpip_thread, did you?
Yes: obey lwIP's threading requirements!!!
If you mean 'application thread' by 'application', then: yes!
There's no need to do that, just use smtp_send_mail_int() , like this:
where your_mail_req is a pointer to a struct smtp_send_request. I probably should have added a big ATTENTION/EXAMPLE not for this somewhere...
|[Prev in Thread]||Current Thread||[Next in Thread]|