[lwip-users] TCP Sockets Simultaneous Read andWrite

2018-08-30 Thread PeterAdamsen
Hello,I am having problems of simultaneous reading and writing to a TCP socket with LwIP, FreeRTOS, AVR32 (EWK1100).I know that lwip_write() and lwip_read() calls are not threadsafe and I have seen a lot of other forum threads discussing this and the use semaphores of lwip_select(). - I do not thin

Re: [lwip-users] TCP Sockets Simultaneous Read andWrite

2018-08-30 Thread PeterAdamsen
Doing some more testing I have found that it isn't the Simultaneous Read and Write that causes the pause. It is the situation where the microcontroller received more than 7 messages without being able to read them. Sending more than 7 message to the loop below, will cause TCP retransmissions, a

Re: [lwip-users] TCP Sockets Simultaneous Read andWrite

2018-08-31 Thread PeterAdamsen
Sergio, I do only have one thread running. Sorry about the big capture, I have replaced it by a new filtered. Please filter with: "ip.addr == 192.168.3.135". My PC is 192.168.120.17, saying 0x0D ([ENTER]) once in a while. My device is 192.168.3.135, saying "Hello" every 1-2 msec There might be