Micro-XRCE-DDS-Client icon indicating copy to clipboard operation
Micro-XRCE-DDS-Client copied to clipboard

Improved on uxr_close_tcp_platform() to avoid potentially losing bytes in flight.

Open sp193 opened this issue 5 years ago • 4 comments

This is similar to the third point mentioned in my new PR within the Agent repository.

This revolves around the fact that send() does not guarantee that the receiver will receive all data. By waiting for the other side (the agent in this case) to also close the connection, we can be sure that all data that should have been received, was received. This also solves another problem: under such a condition, calling close() on the socket() will result in the remote end sending a TCP RST in response to the FIN-ACK.

sp193 avatar Jul 03 '19 11:07 sp193

Build status:

  • Linux Build Status
  • Windows Build Status

richiware avatar Oct 01 '19 10:10 richiware

The error was "ERROR: Error fetching remote repo 'origin' hudson.plugins.git.GitException: Failed to fetch from https://github.com/eProsima/Micro-XRCE-DDS-Client.git"

sp193 avatar Oct 06 '19 03:10 sp193

Build status:

  • Linux Build Status
  • Windows Build Status

richiware avatar Nov 13 '19 16:11 richiware

Build status:

  • Linux Build Status
  • Windows Build Status

richiware avatar Jan 27 '21 14:01 richiware