public void run(){
		try{
			ServerSocket ss = new ServerSocket(port);
			while(true){
				Socket s = ss.accept();
				InputStream is = s.getInputStream();
				ObjectInputStream ois = new ObjectInputStream(is);
				
				Message m = (Message)ois.readObject();
								
				if(	m.procid.equals("bossman")
					||
						(	
						networkOn && 
						network.get(m.procid) != null && 
						network.get(m.procid).get(m.dest) == true && 
						!isolated.contains(m.dest) && 
						!isolated.contains(m.procid)
						)  
					){
					
				//	System.out.println("Network: To " + m.dest + " From " + m.procid + " of type " + m.type);
					sendMsg(m.dest, m);
				}
				
				ois.close();
				is.close();
				s.close();
			}
		} catch (Exception e){
			e.printStackTrace();
		}
	}