public void write(String value) {
		try {
			dataOut.println(value);
			dataOut.flush();
			if (loggedin==1){
				if (value.equals("\n")){}
				else if(value.equals("")){}
				else{GosLink2.dw.append(value);}
			}
		} catch (Exception e) {
			e.printStackTrace();
		}
	}