Introduction - If you have any usage issues, please Google them yourself
There are four main components to phase 2:
1) Add functionality to send “ping” messages over UDP and listen for echo
responses, in order to estimate the round trip time to another peer.-- Mandatory
2) Add functionality to respond to ping messages from other peers.-- Mandatory
3) Add functionality to connect to another peer and download a file.--Optional
4) Add functionality to make your peer a file server, so that other peers may
connect and download files from you.