ros/ros_comm — pull request #226 by x-quadraht (2013-05-14 20:08:33+00:00)
Title: roscpp: fix issues with the packet reordering in the UDP transport

This patch improves the UDP transport from aborting immediately on the first missing packet (!) to working in a stable manner.

When an out-of-order packet arrived, only the requested read size of the
packet was saved in the reordering buffer. The rest was discarded, which
led to protocol synchronization problems.

Also, out-of-order blocks should be discarded entirely.