Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Fixes for IPv6 and multiple address records #12

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

eaglemc
Copy link

@eaglemc eaglemc commented Mar 28, 2017

Fixes for IPv6 and multiple address records.

1ab40ac added processing for IPv6
addresses, but the did not actually run for IPv6 (AAAA) records.
If there are multiple IP address records OnQueryRecordReply() will be
called multiple times, but calling sdRef.Deallocate() after the first
record will prevent further invocations of the callback.
Moved firing the Resolved event from OnQueryRecordReply() to
OnResolveReply() so that it will fire only once after all IPv4 and IPv6
addresses (subject to AddressProtocol property) have been processed.
Previously it would be fired once for each address as it was added to
the [cumulative] AddressList.
@eaglemc eaglemc changed the title Master Fixes for IPv6 and multiple address records Mar 28, 2017
cerebrate added a commit to arkane-systems/Arkane.Zeroconf that referenced this pull request Apr 30, 2017
cerebrate added a commit to arkane-systems/Arkane.Zeroconf that referenced this pull request Apr 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant