diff options
author | Othmar Gsenger <otti@anytun.org> | 2008-11-17 23:21:42 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@anytun.org> | 2008-11-17 23:21:42 +0000 |
commit | 686c1ebee948a20193df1411d478693a29a0f658 (patch) | |
tree | a236388a253f919993a87e6a4a5ab7650785c45f /src/syncServer.cpp | |
parent | fixed sync support (diff) |
added OnConnect Callback
Diffstat (limited to 'src/syncServer.cpp')
-rw-r--r-- | src/syncServer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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(); } |