                 peer.displayName = service.name
                 peer.dnsService = service
                 self.peers.append(peer)
-                DLog("BluepeerObject didFind: created new peer \(peer.displayName). Peers.count after adding: \(self.peers.count)")
+                DLog("BluepeerObject didFind: created new peer \(peer.displayName). Peers(n=\(self.peers.count)) after adding: \(self.peers)")
             } else {
                 if (peer?.state == .notConnected) {
                     DLog("BluepeerObject didFind: found existing not-connected peer \(peer?.displayName), replacing with newer service")

            return
        }
        let peer = self.peers[peerIndex]
        DLog("BluepeerObject: \(peer.displayName) @ \(peer.socket?.connectedHost) disconnected. Peers.count: \(self.peers.count)")
        let oldState = peer.state
        peer.state = .notConnected
        peer.keepaliveTimer?.invalidate()

            newPeer.role = .client
            newPeer.socket = newSocket
            self.peers.append(newPeer) // always add as a new peer, even if it already exists. This might result in a dupe if we are browsing and advertising for same service. The original will get removed on receiving the name of other device, if it matches
            DLog("BluepeerObject: accepting new connection from \(connectedHost). Peers(n=\(self.peers.count)) after adding: \(self.peers)")
            
            // CONVENTION: CLIENT sends SERVER 32 bytes of its name -- UTF-8 string
            self.logDelegate?.didReadWrite("readName")
