test for socket / bluetooth