This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int main(int argc, char **argv) { | |
po::options_description config_options("GeoMesh configuration"); | |
config_options.add_options() | |
("udp_peers", po::value<std::vector<std::string> >()->multitoken(), "List of UDP peers in IPAddress:Port format.") | |
("udp_port", /*po::value<int>()->default_value(10976),*/ "UDP port on which to listen for UDP bridge packets.") | |
("udp_bridge_enable", /*po::value<bool>()->default_value(true),*/ "Whether to enable the UDP bridge."); | |
po::options_description cli_options; | |
cli_options.add_options() |