Network backend: code cleanup
Network backend: code cleanup

Two privates functions have been added: create_socket() and
set_blocking_mode(). Those will be reused later.

Signed-off-by: Paul Cercueil <73d292422978d45c9eeef455bb1b24a0db453722@analog.com>

sensarliar/libiio,gburca/libiio,Sunderfield/libiio,analogdevicesinc/libiio,analogdevicesinc/libiio,Sunderfield/libiio,sensarliar/libiio,gburca/libiio,Sunderfield/libiio,analogdevicesinc/libiio,sensarliar/libiio,gburca/libiio,analogdevicesinc/libiio