Changes since v1: - renamed read_message() to read_all() - read_all now does partial reads and handles EINT - resolved TODOs in second patch, icreased the message size, use sizeof(msg) instead of a constant Lukáš Hrázký (2): Move reading stream messages into a function Implement handling of error messages from the server src/spice-streaming-agent.cpp | 47 ++++++++++++++++++++++++++++++++----------- 1 file changed, 35 insertions(+), 12 deletions(-) -- 2.16.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel