Advanced Approach for Directed Diffusion and Network Coding