Index: webrtc/base/virtualsocketserver.h |
diff --git a/webrtc/base/virtualsocketserver.h b/webrtc/base/virtualsocketserver.h |
index a83be28522f277ea2a4e6232258bf65288bfbe6f..897ba9e5ebc3472e5de1d9a1ac11f1cc68708bf2 100644 |
--- a/webrtc/base/virtualsocketserver.h |
+++ b/webrtc/base/virtualsocketserver.h |
@@ -122,6 +122,9 @@ class VirtualSocketServer : public SocketServer, public sigslot::has_slots<> { |
bool CloseTcpConnections(const SocketAddress& addr_local, |
const SocketAddress& addr_remote); |
+ // For testing purpose only. Fired when a client socket is created. |
+ sigslot::signal1<VirtualSocket*> SignalSocketCreated; |
+ |
protected: |
// Returns a new IP not used before in this network. |
IPAddress GetNextIP(int family); |