This program is a client socket which always listens for a response from the server and which returns the error code in case of failure.