Skip to content

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