Skip to content
arknet

Configure Automatic Reconnect

Clients enable automatic reconnect by default with a one-second retry delay. Configure it before starting:

client.set_auto_reconnect(true, std::chrono::seconds(2));
// Or disable automatic retry:
client.set_auto_reconnect(false);
Navigation

Type to search…

↑↓ navigate↵ selectEsc close