                 peer.lastService?.delegate = nil
                 peer.lastService?.endResolve()
                 peer.lastService = service
-                //                peer?.customData = nil
                 DLog("BluepeerObject didFind: ...done")
             } else {
                 peer = BPPeer.init()

}

@objc open class BPPeer: NSObject {
    open var displayName: String = "" // is HHService.name !
    fileprivate var socket: GCDAsyncSocket?
    open var role: RoleType = .unknown
    open var state: BPPeerState = .notConnected

        if self.appIsInBackground == false {
            DLog("BluepeerObject announcePeer: announcing now with browserFoundPeer - call peer.connectBlock() to connect")
            self.dispatch_on_delegate_queue({
                delegate.browserFoundPeer?(peer.role, peer: peer)
            })
        } else {
            DLog("BluepeerObject announcePeer: app is in BACKGROUND, no-op!")
