compatible with windows 7?


using System;
using Network.Bonjour;
class MainClass
    public static void Main (string[] args)
        BonjourServiceResolver bsr = new BonjourServiceResolver ();
        bsr.ServiceFound += (_o)=> Console.WriteLine(_o);
        bsr.Resolve ("_daap._tcp");
        Console.ReadLine ();
run that code, and get this:
Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object.
at Network.Dns.Answer.WriteTo(BinaryWriter writer)
at Network.Dns.Message.WriteTo(BinaryWriter writer)
at Network.Dns.Message.Clone()
at Network.Bonjour.MDnsServer.OnRequestReceived(RequestEventArgs2 rea)
at Network.Server
2.TreatUdp(RequestEventArgs2 rea, IPEndPoint client)
at Network.Server
2.ReceiveUdpRequest(IAsyncResult result)
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Net.ContextAwareResult.CompleteCallback(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, C
ontextCallback callback, Object state)
at System.Net.ContextAwareResult.Complete(IntPtr userToken)
at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr u
at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32
errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32
errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
Closed Dec 29, 2013 at 9:14 AM by neonp
No news from the issue owner


neonp wrote Nov 30, 2010 at 7:12 AM

It is compatible since I develop on Windows 7. If you can reproduce the issue each time. Can you send me the network packets that causes the error. You can capture them with wireshark.