summaryrefslogtreecommitdiff
path: root/server/server.cc
diff options
context:
space:
mode:
authordeva <deva>2006-08-12 15:08:42 +0000
committerdeva <deva>2006-08-12 15:08:42 +0000
commit11d72fca7cbfaa052a59150a492d1342a2a436b9 (patch)
treeea4a36912d51b616395182b463109e3ec68ae7a0 /server/server.cc
parent0ce19de1ad58dc4a7b25e86125cd2cc78156c001 (diff)
*** empty log message ***
Diffstat (limited to 'server/server.cc')
-rw-r--r--server/server.cc19
1 files changed, 16 insertions, 3 deletions
diff --git a/server/server.cc b/server/server.cc
index 27e5eef..0688a3e 100644
--- a/server/server.cc
+++ b/server/server.cc
@@ -3,7 +3,7 @@
* server.cc
*
* Mon Nov 8 11:35:01 CET 2004
- * Copyright 2004 Bent Bisballe
+ * Copyright 2004 Bent Bisballe Nyeng
* deva@aasimon.org
****************************************************************************/
@@ -26,6 +26,10 @@
*/
#include "server.h"
+//#ifdef USE_DEBUG
+//#include "efencepp.h"
+//#endif /*USE_DEBUG*/
+
#include "network.h"
#include <stdio.h>
@@ -55,6 +59,7 @@
#include "server_status.h"
#include "dv.h"
+#include "util.h"
void newConnection(Socket *socket)
{
@@ -65,8 +70,16 @@ void newConnection(Socket *socket)
Frame *frame;
while((frame = network.recvFrame())) {
-
- sleep(1);
+
+ MIaV::info->info("TC: %d %d %d %d - shoot %d freeze %d",
+ frame->timecode.hour,
+ frame->timecode.min,
+ frame->timecode.sec,
+ frame->timecode.frame,
+ frame->snapshot,
+ frame->freeze);
+
+ // sleep_1_frame();
if(frame->vframe) delete frame->vframe;
if(frame->aframe) delete frame->aframe;