File: aoremoteclient.cpp

package info (click to toggle)
aoflagger 2.13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,232 kB
  • sloc: cpp: 61,805; python: 60; sh: 23; makefile: 8
file content (15 lines) | stat: -rw-r--r-- 270 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <iostream>

#include "remote/client.h"

int main(int argc, char *argv[])
{
	if(argc == 3)
	{
		std::string serverHost = argv[2];
		aoRemote::Client client;
		client.Run(serverHost);
	} else {
		std::cerr << "Syntax: aoremoteclient connect <serverhost>\n";
	}
}