Hello, we are using Nuttx on our Robot Control Boards, and we are seeing an odd behavior when communicating with our main board that is running Linux.
Every once in a while, we see a more than a 1 second delay when we call Socket::Send to send information to the Main board. Using Debug Statement, I confirmed that we are calling Socket::Send in a timely manner. Also. by using WireShark, I can confirm that the message does not get sent out until more than a 1 second later. Strangely, after adding an option to the socket for a 300ms send Delay "SO_SNDTIMEO", we don't see the Delay in communication anymore. Also Strangely, we reduce the timeout to 1us and we don't see any timeout happening in the socket. Why would adding "SO_SNDTIMEO" remove the once in a while delay we were seeing and why after setting the timeout to 1us we are not seeing the timeout error? best, Hakeem _____________________________________________________________________ This email message, including any attachments, may contain confidential and proprietary information for the sole use of the intended recipient. If you are not the intended recipient, please notify the sender and delete this message from your system, without making any copy or distribution. Our website and email privacy policy is available at https://www.brooks.com/privacy