Skip to content

Instantly share code, notes, and snippets.

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()