void sendError(String errorString){
	try {
	    JSONObject errorMessage = new JSONObject().put("error", errorString);
	    sendMessage(errorMessage);
	} catch (JSONException f){}
	catch (IOException g){}
    }