To handle error case where receive timeout expires on Formatter, but data is sent by remote system after the timeout. This fills the input buffer and adds an offset to all packets until the buffer is cleared.
Where to put
There could be a call like this at the top of the manage_systems() loop function (one per socket or port used, except for uplink). Should take care to use a very short timeout on the read, and no retry. Could add a special-use System for use in this particular ::read_some() call.
The point
Where to put
There could be a call like this at the top of the
manage_systems()
loop function (one per socket or port used, except for uplink). Should take care to use a very short timeout on the read, and no retry. Could add a special-useSystem
for use in this particular::read_some()
call.