         self.connect(peerWithId: peripheral.identifier)
         self.delegate?.clink(self, didDiscoverPeer: peer)
         
+        NotificationCenter.default.post(name: Clink.Notifications.didDiscoverPeer, object: peer)
+        
         central.connect(peripheral, options: nil)
     }
     

    }        
    
    override private init() {
        super.init()
        
        peripheralManager.delegate = self
        centralManager.delegate = self
        
        let service = CBMutableService(type: serviceId, primary: true)
        

            let peer = self.connectedPeers[i]
            
            self.delegate?.clink(self, didDisconnectPeer: peer)
            
            NotificationCenter.default.post(name: Clink.Notifications.didDisconnectPeer, object: peer)
            
            self.connectedPeers.remove(at: i)
        }
