You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[TestMethod]
public void DiscoverServiceInstanceRemote()
{
var service = new ServiceProfile("bar", "_foo._tcp", 4711);
var done = new ManualResetEvent(false);
var sd = new ServiceDiscovery();
sd.ServiceInstanceDiscovered += (s, e) =>
{
if (e.ServiceInstanceName == service.FullyQualifiedName)
{
Assert.IsNotNull(e.Message);
done.Set();
}
};
try
{
sd.QueryServiceInstances(service.ServiceName);
Assert.IsTrue(done.WaitOne(TimeSpan.FromSeconds(5)), "instance not founde");
}
finally
{
sd.Dispose();
}
}
are working pretty fine as long as the machine is connected via cable. As soon as I switch to Wifi it doesn´t.
What I´m doing wrong?
The text was updated successfully, but these errors were encountered:
I am experiencing this as well. I cannot advertise or discover over my Wi-Fi Interface. Tested with the example programs in the repo ("Spike"). Windows 10, Visual Studio 2022.
Works fine over the ethernet interface, but if I unplug then no traffic.
I had the same issue for a while. My solution was that Windows automatically set the WiFi to public instead of private which in turn blocks mdns. Go to Settings => Network and Internet and then on the top it should tell you what kind of network it thinks you have.
Hello,
using this lines of code
are working pretty fine as long as the machine is connected via cable. As soon as I switch to Wifi it doesn´t.
What I´m doing wrong?
The text was updated successfully, but these errors were encountered: