Skip to content

Commit 99b037d

Browse files
committed
Request unicast LAN discovery replies
1 parent f4bf40e commit 99b037d

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

Basis Server/BasisNetworkCore/BasisLanServerBrowser.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ public void Query()
8383
try
8484
{
8585
discovery?.QueryServiceInstances(ServiceName);
86+
// Some access points suppress multicast toward Wi-Fi clients. A QU query still
87+
// reaches responders through multicast but asks them to return the answer unicast.
88+
discovery?.QueryUnicastServiceInstances(ServiceName);
8689
}
8790
catch (ObjectDisposedException)
8891
{

Basis/Packages/com.basis.server/BasisNetworkCore/BasisLanServerBrowser.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ public void Query()
8383
try
8484
{
8585
discovery?.QueryServiceInstances(ServiceName);
86+
// Some access points suppress multicast toward Wi-Fi clients. A QU query still
87+
// reaches responders through multicast but asks them to return the answer unicast.
88+
discovery?.QueryUnicastServiceInstances(ServiceName);
8689
}
8790
catch (ObjectDisposedException)
8891
{

0 commit comments

Comments
 (0)