public void sendPacket(int size){
		// Print error messages if needed
		if(this.nic==null)
			System.err.println("The computer you are sending from does not have a NIC!");
		if(trace)
			System.out.println("(Computer) Trace: sending packet from computer");	
		
		int bitsRemaining = size;
		boolean firstCell = true;
		
		while(bitsRemaining > 0){
			if(trace)
				System.out.println("(Computer) Trace: sending a cell for the part of the packet " + traceID);
			
			// If it's the first cell we'll send the IP header info
			if(firstCell){
				nic.sendCell(new ATMCell(this.vcNumber, new IPPacket("10.0.0.1", "10.0.0.2", size), this.getTraceID()), this);
				firstCell=false;
			}
			// otherwise we'll just send some fake data that would be in the packet
			else{
				// Make some dummy packet data
				String data = "";
				for(int i=0; (i <= 48*8) && (i <=bitsRemaining); i++)
					data += "d";
				
				nic.sendCell(new ATMCell(this.vcNumber, data, this.getTraceID()), this);
			}
			
			// 48*8 bits of data sent in an ATM cell payload
			bitsRemaining -= 48*8;
		}
	}