594 re resolve address when disconnect by wsobel · Pull Request #597 · mtconnect/cppagent

and others added 3 commits

February 24, 2026 14:16
When using hostnames instead of static IPs, the resolved IP address
may change in DHCP environments. This change ensures that:

- Agent Adapter: Clears cached DNS resolution in failed() so the next
  reconnection attempt performs a fresh DNS lookup
- SHDR Connector: Re-resolves hostname in asyncTryConnect() instead of
  using cached results (static IPs still connect directly)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

This was linked to issues

Feb 25, 2026

@wsobel

Fixed compile issues with ubuntu 22.04 gcc-11 support for constexpr and string.

robot-ranger

@wsobel wsobel deleted the 594_re-resolve_address_when_disconnect branch

March 23, 2026 16:39