Skip to content

Instantly share code, notes, and snippets.

@berkus
Last active December 27, 2015 02:49
Show Gist options
  • Save berkus/7255482 to your computer and use it in GitHub Desktop.
Save berkus/7255482 to your computer and use it in GitHub Desktop.
Routing module excerpt
uia::routing::internal::regserver_client regclient(host.get());
uia::routing::client_profile client;
client.set_host_name("myhost.local");
client.set_owner_name("Name");
client.set_city("City");
client.set_region("Region");
client.set_country("Country");
client.set_endpoints(set_to_vector(host->active_local_endpoints()));
regclient.set_profile(client);
regclient.register_at("192.168.1.67");
// Connect to as many regservers as you need
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment