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

Support IPv6 question and response #177

Merged
merged 1 commit into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,15 @@ import (
)

const (
// DefaultAddress is the default used by mDNS
// DefaultAddressIPv4 is the default used by mDNS
// and in most cases should be the address that the
// net.Conn passed to Server is bound to
DefaultAddress = "224.0.0.0:5353"
// ipv4.PacketConn passed to Server is bound to
DefaultAddressIPv4 = "224.0.0.0:5353"

// DefaultAddressIPv6 is the default IPv6 address used
// by mDNS and in most cases should be the address that
// the ipv6.PacketConn passed to Server is bound to
DefaultAddressIPv6 = "[FF02::]:5353"
)

// Config is used to configure a mDNS client or server.
Expand Down
Loading
Loading