Mutliple TCP clients on STM32H563 with NetXDuo
I have a question regarding the tutorial "Handling multiple TCP clients on STM32H563 with NetX Duo" written by @STea .
In the first section "handling multilple clients on the same port", there is some example code. In the function
static VOID tcp_thread_entry(ULONG thread_input)
there is an infinite loop, containing a tx_queue_receive call:
/* Receive pointers to TCP socket and network packet from TCP callback */ ULONG msg[2]; status = tx_queue_receive(&g_tcp_q, msg, TX_WAIT_FOREVER);
At the moment I try to create an application based on this tutorial. Apparently, the tx_queue_receive fails (returns TX_QUEUE_ERROR) which makes sense, since no one sends data into the queue "g_tcp_q". At which point should this happen? I can't find it in the example code.
Furthermore, the tutorial states "You can find attached the file app_netxduo++clients_same_port.c that you can replace in this project to test this use case.". I can't find it.
