Ver Fonte

CSocket: Also call on_connected for local socket connections

Robin Burchell há 6 anos atrás
pai
commit
e922db68d8
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      Libraries/LibCore/CSocket.cpp

+ 2 - 0
Libraries/LibCore/CSocket.cpp

@@ -92,6 +92,8 @@ bool CSocket::connect(const CSocketAddress& address)
     }
 
     m_connected = true;
+    if (on_connected)
+        on_connected();
     return true;
 }