def METHOD_NAME(msg_request, response_size=100, wazuh_socket=request_socket):
    sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
    request_msg = struct.pack('<I', len(msg_request)) + msg_request.encode()
    @retry(socket.error)
    def connection(_socket, request):
        _socket.connect(request)
    @retry(socket.error)
    def send_msg(_socket, msg):
        _socket.send(msg)
    @retry(ValueError)
    def recv_response(_socket, size):
        answer = _socket.recv(size).decode()
        if answer == '':
            raise ValueError
        return answer
    connection(sock, wazuh_socket)
    send_msg(sock, request_msg)
    response = recv_response(sock, response_size)
    sock.close()
    return response