A Novel Approach for Unicast and Multicast Traffic Management in Wireless Networks