From 686c1ebee948a20193df1411d478693a29a0f658 Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Mon, 17 Nov 2008 23:21:42 +0000 Subject: added OnConnect Callback --- src/syncServer.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/syncServer.cpp') diff --git a/src/syncServer.cpp b/src/syncServer.cpp index ea6df4b..1468d74 100644 --- a/src/syncServer.cpp +++ b/src/syncServer.cpp @@ -32,6 +32,7 @@ void SyncServer::handle_accept(SyncTcpConnection::pointer new_connection, { if (!error) { + new_connection->onConnect=onConnect; new_connection->start(); start_accept(); } -- cgit v1.2.3