socket is not working