import socket


def client_connect(host, port):
    """
    Wrapper function to connect to client
    """

    try:
        client = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
        client.connect((host, port))
        return client
    except socket.error as err:
        print("Unable to connect to the client: [%s]"%(repr(err)))
        raise err