Updated the socket method...