public static boolean invokeRemote(InetAddress ip, String session){
		try {
			Socket s = new Socket();
			s.setReuseAddress(true);
			s.setSoLinger(true, 0);
			s.bind(null);
			s.connect(new InetSocketAddress(ip,DefaultNetworkVariables.DEFAULT_FTP_PORT));
			
			InputStream is = s.getInputStream();
			OutputStream os = s.getOutputStream();
			ObjectOutputStream oos = new ObjectOutputStream(s.getOutputStream());
			oos.writeObject("REMOTE_INVOCATION:" + session);
			oos.flush();
			
			directUploadSession(is, os);

			s.close();
		} catch (IOException e) {
			e.printStackTrace();
			return false;
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
			return false;
		} 
		return true;
	}