The invention relates to a computer-implemented method for connecting a first computer (2) and a second computer (3) by means of a first communication connection (4) and / or a second communication connection (5), the first communication connection (4) and the second communication connection (5) enabling the first computer (2) and the second computer (3) to be connected, the first communication connection (4) and the second communication connection (5) each have at least a first connection characteristic (11), at least one application (20) being executed on the first computer (2), the first application (20) having at least two application variants (21, 22) having different requirements for the first connection characteristic (11), the application variants (21, 22) having a priority sequence (40), the method involves the following steps: a) selecting (7) an application variant (21, 22) having the highest priority (41); the method comprises the following steps: a) selecting an application variant (21, 22), b) checking (8) whether the requirement of the selected application variant (21, 22) is met by any one of the communication connections (4, 5), c) if the requirement of the selected application variant (21, 22) is not met by any one of the communication connections (4, 5), selecting (9) an application variant (21, 22) with a second priority (42), and repeating the method from step b), c) if the requirement of the selected application variant (21, 22) is not met by any one of the communication connections (4, 5). D) connecting (10) the first computer (2) and the second computer (3) by means of the first communication connection (4) and / or the second communication connection (5) in such a way that the required requirements of the selected application variants (21, 22) for the first connection characteristic (11) are met.