testing the socket