summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/Network.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/OSSupport/Network.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/OSSupport/Network.cpp b/src/OSSupport/Network.cpp
index af63c75d0..4dc8d1df1 100644
--- a/src/OSSupport/Network.cpp
+++ b/src/OSSupport/Network.cpp
@@ -841,6 +841,10 @@ cServerHandleImplPtr cServerHandleImpl::Listen(
{
cNetworkSingleton::Get().AddServer(res);
}
+ else
+ {
+ a_ListenCallbacks->OnError(res->m_ErrorCode, res->m_ErrorMsg);
+ }
return res;
}
@@ -1062,6 +1066,7 @@ cTCPLink::cTCPLink(cCallbacksPtr a_Callbacks):
+
////////////////////////////////////////////////////////////////////////////////
// cNetworkSingleton: