Fixed memory trash in UDP reading code, checking return values from termination pipes IO operations.
Fixed memory trash in UDP reading code, checking return values from termination pipes IO operations.

aseba-community/dashel,aseba-community/dashel