public boolean setTimeout(int timeout){
		
		if(isConnected()){
			try {
				socket.setSoTimeout(timeout);
				return true;
			} catch (SocketException e) {
				return false;
			}
		}
		
		return false;
		
	}