lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] How to send to netconn socket while waiting for input?


From: address@hidden
Subject: Re: [lwip-users] How to send to netconn socket while waiting for input?
Date: Sat, 25 Apr 2020 20:51:53 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

Am 25.04.2020 um 06:04 schrieb ddbug:
> I have a simple netconn socket server on freeRTOS.
> It reads request from client and sends reply in same thread. This works
> fine.
>
> Now I have requirement to send to the same client socket from other thread,
> while the server thread waits on netconn_recv().
> Any examples available for in this case?
> Is TCPIP core locking needed?
>
> Sorry for a silly beginner question, but could not find any clear answer in
> the FAQ.
>
> My LwIP version is 2.0.3.

You'll need to enable LWIP_NETCONN_FULLDUPLEX for that, but I'll
strongly suggest to upgrade to the latest release for that to work stable.

Regards,
Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]