Current network technology has been able to offer transmission methods of higher efficiency. Heterogeneous network designs are also common in real-world networks. Among those designs, flooding algorithm is a highly reliable method of transmission, commonly seen in broadcasting. In peer-topeer (P2P) networks, however, this algorithm generates redundant repetitions of information, causing waste of resources. In this thesis a revised flooding algorithm is proposed, which effectively reduces redundant traffic for reliable message transmission in mesh networks. Without compromising transmission reliability, goodput is enhanced, significantly lowering cost of transmission. Analysis of the experiment results is also useful in designing a heterogeneous network structure with highest goodput based on the proportionality where equipment bandwidth and quantity are known, benefitting network efficiency.