For doing my assignment (BitTorrent protocol analysis)