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

Add DisableMulticastLoopback option to client parameters #1

Closed
wants to merge 38 commits into from

Conversation

PatrLind
Copy link
Owner

reddaly and others added 30 commits October 17, 2014 09:53
Setting this option to false (default) sets the IP_MULTICAST_LOOP socket option
to true on the multicast sockets opened by the mDNS server.  This is necessary
for other sockets on the same machine to receive packets sent by the server and
thus discover the service.
Clean up probe goroutine when shutting down
Fix domain lookup in some cases
When the timeout it reached, the query can still fail to complete if the
caller isn't consuming the results from the channel.  This change allows
the query to exit in any case.
Introduce context.Context to enable cancellation in addition to the
existing timeout functionality.  To retain compatability, Timeout is
still available but will only be used if Context is not set.

We use x/net/context.Context for the moment instead of context.Context
in order to avoid creating a requirement on Go 1.7
Allow timeout and cancellation via context.Context
reddaly and others added 8 commits February 20, 2017 17:36
Setting this option to false (default) sets the IP_MULTICAST_LOOP socket option
to true on the multicast sockets opened by the mDNS server.  This is necessary
for other sockets on the same machine to receive packets sent by the server and
thus discover the service.
Setting this option to false (default) sets the IP_MULTICAST_LOOP socket option
to true on the multicast sockets opened by the mDNS server.  This is necessary
for other sockets on the same machine to receive packets sent by the server and
thus discover the service.

Conflicts:
	server.go
Conflicts:
	server.go
@PatrLind PatrLind closed this Apr 16, 2019
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.

5 participants