System.out.println("Jupiter Network Manager creates the threads");
try {
/* Create the listener socket */
ServerSocket listener = new ServerSocket(Main.ports.get(peerIndex));
receiver = new ReceiveManager(listener, this);
/* The normal peers won't create other senders */
if (peerIndex != Main.rootPeer)
peerSender = new Sender(Main.IPAdresses.get(Main.rootPeer),
Main.ports.get(Main.rootPeer));