From 98da5993021c6e0562f1369eba8ed85bd07b2ec8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20B=C3=B6ttger?= Date: Fri, 30 May 2025 21:11:50 +0200 Subject: [PATCH] Comments --- NearbyShare/NearbyConnection.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/NearbyShare/NearbyConnection.swift b/NearbyShare/NearbyConnection.swift index 86463f0..56222e3 100644 --- a/NearbyShare/NearbyConnection.swift +++ b/NearbyShare/NearbyConnection.swift @@ -84,6 +84,7 @@ class NearbyConnection { self.lastError = err log("Connection Error: \(err)") + // If the error is a connection reset, it could be due to firewall issues. if err == .posix(.ENOTCONN) { ConnectionFailureTracker.shared.recordFailure { NearbyConnectionManager.shared.mainAppDelegate?.showFirewallAlert()