Index: source/ariba/overlay/BaseOverlay.cpp
===================================================================
--- source/ariba/overlay/BaseOverlay.cpp	(revision 12060)
+++ source/ariba/overlay/BaseOverlay.cpp	(revision 12438)
@@ -795,5 +795,7 @@
 
 BaseOverlay::BaseOverlay() :
-			started(false),state(BaseOverlayStateInvalid),
+			started(false),
+			connected(false),
+			state(BaseOverlayStateInvalid),
 			bc(NULL),
 			nodeId(NodeID::UNSPECIFIED), spovnetId(SpoVNetID::UNSPECIFIED),
@@ -1245,5 +1247,6 @@
 	}
 	
-	// TODO AKTUELL: sequence numbers
+	// TODO XXX ----> coordinate with QUIC-efforts !!
+	// TODO aktuell: sequence numbers
 	// TODO seqnum on fast path ?
 	ld->last_sent_seqnum.increment();
@@ -1620,4 +1623,30 @@
 	// erase mapping
 	eraseDescriptor(ld->overlayId);
+    
+    
+    // notify the application if this is the last link to a different node
+    if ( connected )
+    {
+        bool active_links = false;
+        
+        // look for links that are still active
+        foreach( LinkDescriptor* ld, links )
+        {
+            if ( isLinkDirectVital(ld) )
+            {
+                active_links = true;
+                break;
+            }
+        }
+
+        if ( ! active_links )
+        {
+            connected = false;
+            
+            foreach( NodeListener* i, nodeListeners )
+                i->onOverlayDisconnected( spovnetId );
+        }
+    }
+
 }
 
@@ -2093,4 +2122,14 @@
 	sideport->onLinkUp( ld->overlayId, nodeId, ld->remoteNode, this->spovnetId );
 
+    
+    // notify the application if this is the first link to a different node
+    if ( not connected )
+    {
+        connected = true;
+        
+        foreach( NodeListener* i, nodeListeners )
+            i->onOverlayConnected( spovnetId );
+    }
+    
 	return true;
 }
Index: source/ariba/overlay/BaseOverlay.h
===================================================================
--- source/ariba/overlay/BaseOverlay.h	(revision 12060)
+++ source/ariba/overlay/BaseOverlay.h	(revision 12438)
@@ -425,4 +425,7 @@
 	/// is the base overlay started yet
 	bool started;
+    
+    /// Â»trueÂ« if we have neighbours, Â»falseÂ« otherwise
+    bool connected;
 
 	/// The state of the BaseOverlay
