All Network Layers C++ implementation for file transfer P2P simulation