Implement QR pairing window and mDNS announcements; update documentation and tests

This commit is contained in:
2026-09-09 09:53:37 +03:00
parent d5e827112a
commit 2da3c9544b
7 changed files with 321 additions and 61 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ internal sealed class MdnsPublisher(string fingerprint, int port) : IDisposable
}
if (DateTimeOffset.UtcNow >= nextAnnouncement)
{
var message = new Message { QR = true, AA = true };
var message = new Makaretu.Dns.Message { QR = true, AA = true };
message.Answers.Add(new PTRRecord
{
Name = profile!.QualifiedServiceName, DomainName = profile.FullyQualifiedName, TTL = TimeSpan.FromSeconds(120)