Method for determining a topology of a wireless communication network composed of a plurality of nodes connected or not connected, respectively, to at least one equipment, one of the nodes, called the root node, being connected to an external network, the method comprising the steps of: - determining a service class for each node, the service class being determined according to the equipment connected to the node, if the node is connected to a telephone, the service class associated with the node is the voice-over-IP class VOIP, if the node is connected to a set-top box, the service class associated with the node is ultra-high-definition television over IP UHD IPTV, if the node is connected to a television, the service class associated with the node is high-definition IPTV HD IPTV, for the other nodes, the associated service class is data, or the service class of each node corresponds to the service class determined for each node by a user of the communication network or an operator of the communication network, - obtaining, from each node, information representative of the quality of the link between the node and other nodes, - calculating, for each link, parameters representative of the quality of the link, - classifying the nodes according to their service class and for those nodes which have the same service class according to the number of links making up the path separating them from the root node, - determining, for each node and according to the classification, possible paths connecting the node to the root node, - calculating, for each determined path, a score on the basis of parameters representative of the quality of the link and on the basis of coefficient values dependent on the service class of the node, - selecting the path for the node that has the minimum score. - determining a service class for each node, the service class being determined according to the equipment connected to the node, if the node is connected to a telephone, the service class associated with the node is the voice-over-IP class VOIP, if the node is connected to a set-top box, the service class associated with the node is ultra-high-definition television over IP UHD IPTV, if the node is connected to a television, the service class associated with the node is high-definition IPTV HD IPTV, for the other nodes, the associated service class is data, or the service class of each node corresponds to the service class determined for each node by a user of the communication network or an operator of the communication network, - obtaining, from each node, information representative of the quality of the link between the node and other nodes, - calculating, for each link, parameters representative of the quality of the link, - classifying the nodes according to their service class and for those nodes which have the same service class according to the number of links making up the path separating them from the root node, - determining, for each node and according to the classification, possible paths connecting the node to the root node, - calculating, for each determined path, a score on the basis of parameters representative of the quality of the link and on the basis of coefficient values dependent on the service class of the node, - selecting the path for the node that has the minimum score.