Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: A simpler mdns service #15

Merged
merged 3 commits into from
Jul 8, 2018
Merged

fix: A simpler mdns service #15

merged 3 commits into from
Jul 8, 2018

Conversation

richardschneider
Copy link
Owner

A redesign of MdnsService, motivated by #14 and #12

  • Instead of playing with sockets, use the UdpClient. This avoids some IPv6 issues.
  • Instead of maintaining the multicast group membership, simply create a new listener.
  • Use a separate UdpClient (socket) when sending. This allows the listener to see all
    messages sent by this service.

BREAKING CHANGES

  • GetIPAddresses is no longer static.

Instead of playing with sockets, use the UdpClient.  This avoids some IPv6 issues.

Instead of maintaining the multicast group membership, simply create a new listener.

Use a separate UdpClient  (socket) when sending.  This allows the listener to see all
messages sent by this service.

***BREAKING CHANGES**

GetIPAddresses is no longer static.
@richardschneider richardschneider merged commit 132912a into master Jul 8, 2018
@richardschneider richardschneider deleted the npcap branch July 8, 2018 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant