...
This commit is contained in:
@@ -15,7 +15,8 @@ int main(int argc, char* argv[])
|
||||
options.add_options()("h,help", "Print usage");
|
||||
options.add_options()(
|
||||
"endpoints", "endpoints server will be listening for",
|
||||
cxxopts::value<std::vector<std::string>>()->default_value("local://stream/@ADC_ASIO_TEST_SERVER"));
|
||||
cxxopts::value<std::vector<std::string>>()->default_value("local://stream/ADC_ASIO_TEST_SERVER"));
|
||||
// cxxopts::value<std::vector<std::string>>()->default_value("local://stream/@ADC_ASIO_TEST_SERVER"));
|
||||
|
||||
options.parse_positional({"endpoints"});
|
||||
|
||||
@@ -45,7 +46,9 @@ int main(int argc, char* argv[])
|
||||
}
|
||||
|
||||
std::cout << "try to start listenning at '" << ep << "' ...";
|
||||
|
||||
server.start<adc::AdcStopSeqSessionProto<>>(epn);
|
||||
|
||||
std::cout << "\tOK\n";
|
||||
} else {
|
||||
std::cerr << "Unrecognized endpoint: '" << ep << "'! Ignore!\n";
|
||||
|
||||
Reference in New Issue
Block a user