[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] How to set callback for accepted netconn connection?
From: |
Grant Edwards |
Subject: |
Re: [lwip-users] How to set callback for accepted netconn connection? |
Date: |
Mon, 22 Nov 2021 16:25:09 -0000 (UTC) |
User-agent: |
slrn/1.0.3 (Linux) |
On 2021-11-22, goldsimon@gmx.de <goldsimon@gmx.de> wrote:
>>
>>> The callback gets copied from the listening connection.
>>
>> I suspected that might be the case, but hadn't been able to find where
>> that happened in the source code. For some reason I thought it had to
>> be happening at the netconn layer, but now I see it happens in
>> api_msg.c::accept_function()
>
> Well, that file *is* one half the netconn layer (the half running in
> tcpip_thrad, not in the application threads).
Ah thanks! That's a clue I had been missing.
--
Grant