]> git.tdb.fi Git - libs/net.git/blobdiff - source/clientsocket.h
Move signal_connect_finished to ClientSocket
[libs/net.git] / source / clientsocket.h
index e222a5f221575c9093261409b02d190392dab3e4..c81e4cd530ba1317e6f576bdfb914e36b1b9976b 100644 (file)
@@ -11,6 +11,11 @@ ClientSockets are used for sending and receiving data over the network.
 */
 class ClientSocket: public Socket
 {
+public:
+       /** Emitted when the socket finishes connecting.  The argument is a
+       platform-dependent error code. */
+       sigc::signal<void, int> signal_connect_finished;
+
 protected:
        bool connecting;
        bool connected;