git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12826
d0543943-73ff-0310-b7d9-
9358b9ac24b2
//gcc -Wall -ggdb client.c -o client -lX11 -lpthread
+/*
+USAGE:
+
+on skype_client_machine:
+# mknod /tmp/backpipe_103 p
+# ./client :103 0</tmp/backpipe_103 | nc -l -p 123456 | tee 1>/tmp/backpipe_103
+
+on skypiax server machine:
+# nc skype_client_machine 123456
+
+*/
+
#include <stdio.h>
#include <unistd.h>
#include <X11/Xlib.h>
//printf("\tRECEIVED\t==>\t%s\n", b);
printf("%s\n", b);
+ fflush(stdout);
memset(buffer, '\0', 17000);
}