pcm: share plugin: return error if socket read or write call fails
pcm: share plugin: return error if socket read or write call fails

Fixes: https://github.com/alsa-project/alsa-lib/pull/242
Signed-off-by: Tomohiro IKEDA <c6dc6f82f323890c3b864a37d7509ba3c27bff3f@gmail.com>
Signed-off-by: Jaroslav Kysela <72edd5e1a572f82f059ccbb83c92b74d6cb051ff@perex.cz>

alsa-project/alsa-lib,alsa-project/alsa-lib,alsa-project/alsa-lib,alsa-project/alsa-lib