summaryrefslogtreecommitdiff
path: root/src/server.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/server.cc')
-rw-r--r--src/server.cc11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/server.cc b/src/server.cc
index 76ba8c9..370af2e 100644
--- a/src/server.cc
+++ b/src/server.cc
@@ -31,6 +31,10 @@
/*
* $Log$
+ * Revision 1.14 2005/05/16 16:00:57 deva
+ *
+ * Lots of stuff!
+ *
* Revision 1.13 2005/05/09 16:40:20 deva
*
* Added optimize yuv conversion code
@@ -281,13 +285,15 @@ void newConnection(Socket *socket)
frame = new Frame(NULL, DVPACKAGE_SIZE);
- printf("New connection[pid: %d]...\n", getpid());
+ fprintf(stderr, "New connection[pid: %d]...\n", getpid());
+ fflush(stderr);
Network network = Network(socket, &info);
while(int ret = network.recvPackage(&h, frame->data, frame->size)) {
status.checkPoint();
if(ret == -1) {
fprintf(stderr, "An error occurred...!\n");
+ fflush(stderr);
break;
}
@@ -337,6 +343,7 @@ void newConnection(Socket *socket)
if(enc) delete enc;
- printf("Connection end[pid: %d]...\n", getpid());
+ fprintf(stderr, "Connection end[pid: %d]...\n", getpid());
+ fflush(stderr);
}