594 re resolve address when disconnect by wsobel · Pull Request #597 · mtconnect/cppagent
and others added 3 commits
February 24, 2026 14:16When 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
deleted the
594_re-resolve_address_when_disconnect
branch
This file contains hidden or 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