[DEBUG] fix socket filedescriptor check
[DEBUG] fix socket filedescriptor check

Change-Id: Idbf6f587487d4950b6af7fdbdef041a61a3045ca
Reviewed-on: https://gerrit.parrot.biz/14311
Reviewed-by: Maxime Maitre <e46fe1f9761923e97d4fbff83ab76adb16770b5c@parrot.com>

kradhub/libARNetworkAL,niavok/libARNetworkAL,kradhub/libARNetworkAL,Parrot-Developers/libARNetworkAL,Parrot-Developers/libARNetworkAL,kradhub/libARNetworkAL,Parrot-Developers/libARNetworkAL,niavok/libARNetworkAL,niavok/libARNetworkAL,Parrot-Developers/libARNetworkAL