Skip to content
This repository was archived by the owner on Jan 14, 2021. It is now read-only.
Open
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
2 changes: 1 addition & 1 deletion src/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Reflection;
using System.Runtime.CompilerServices;

[assembly:AssemblyVersion("4.0.0.90")]
[assembly:AssemblyVersion("4.0.1.90")]
[assembly:AssemblyTitle("Mono.Zeroconf")]
[assembly:AssemblyDescription("Cross Platform Zeroconf for .NET")]
[assembly:AssemblyCopyright("Copyright (C) 2006-2009 Novell, Inc.")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,17 @@ private void SetupCallbacks()
{
resolve_reply_handler = new Native.DNSServiceResolveReply(OnResolveReply);
query_record_reply_handler = new Native.DNSServiceQueryRecordReply(OnQueryRecordReply);
resolveAction = new Action<bool>(Resolve);
}

private Action<bool> resolveAction;
public void Resolve()
{
Resolve(false);
// If people call this in a ServiceAdded eventhandler (which they genreally do)
// We need to invoke onto another thread otherwise we block processing any more results.

resolveAction.BeginInvoke(false, null, null);

}

public void Resolve(bool requery)
Expand Down