public void write(int b) {
		idle = false;
		try {
			outputStream.write(b);
			outputStream.flush();
			bytesSent += 1;
		}
		catch(IOException e) {
			Fluid.error(e, 2);
			connected = false;
		}
	}