@@ -0,0 +1,516 @@
+package Tracker;%0A%0Aimport java.net.Socket;%0A%0A/**%0A * %0A * @author Pawel%0A *%0A */%0A%0A/**%0A Every user downloading a file should be identified as a peer,%0A which will help tracking his use of torrent files.%0A */%0A%0Apublic class Peer %0A%7B%0A%09public int port, fileID;%0A%09public String id, ip;%0A%09public Socket peerSocket = null;%0A%09%0A%09// Constructor%0A%09%0A%09public Peer(String id, String ip, int port, int fileID, Socket peerSocket)%0A%09%7B%0A%09%09this.ip = ip;%0A%09%09this.id = id;%0A%09%09this.port = port;%0A%09%09this.fileID = fileID;%0A%09%09this.peerSocket = peerSocket;%0A%09%7D%0A%7D%0A

Create Peer.java