[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Initialization with raw api
From: |
Kieran Mansley |
Subject: |
Re: [lwip-users] Initialization with raw api |
Date: |
Sat, 12 Mar 2011 17:28:25 +0000 |
On 11 Mar 2011, at 21:26, Stephen Cleary wrote:
> My guess is that the raw initialization (tcp_new, etc) should go into the
> tcpip_init callback, correct? (Another possibility would be ethernetif_init
> (which is run, I assume, in the context of tcpip_thread), but it seems wrong
> to put raw api calls in that function.)
You could do it in the callback if you wished (I think). You can also use the
tcpip_callback function (if I remember the name rightly) to execute some
function in the tcpip thread context.
Kieran