[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] TCP Sockets Simultaneous Read andWrite
From: |
PeterAdamsen |
Subject: |
Re: [lwip-users] TCP Sockets Simultaneous Read andWrite |
Date: |
Thu, 30 Aug 2018 06:47:40 -0700 (MST) |
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, and large delays on PING's
while (1)
{
lwip_read(sock2, str, 6);
delay(5000); // 5 sec
}
--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html